summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2011-12-15 19:38:29 +0000
committerRafaël Carré <rafael.carre@gmail.com>2011-12-15 19:38:29 +0000
commit6a09b39eb8306a4231cabce6c89530590cf08b49 (patch)
treea7040c2a2679195b85465f0b52e365c1cbb5526c
parent521512f88ae462cf467a90890c62693b42e1651f (diff)
downloadrockbox-6a09b39eb8306a4231cabce6c89530590cf08b49.tar.gz
rockbox-6a09b39eb8306a4231cabce6c89530590cf08b49.zip
SOURCES: select lcd driver based on CONFIG_LCD
Only done for files shared across multiple targets Note that several targets share the same CONFIG_LCD but use completely different drivers git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31285 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/SOURCES59
1 files changed, 29 insertions, 30 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index 206fff6677..3ff46f6390 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -590,6 +590,35 @@ drivers/i2c.c
590 590
591/* target code */ 591/* target code */
592 592
593/* LCD driver */
594#if CONFIG_LCD == LCD_SSD1303
595target/arm/as3525/lcd-ssd1303.c
596#elif CONFIG_LCD == LCD_SSD1801
597target/sh/archos/player/lcd-as-player.S
598target/sh/archos/player/lcd-player.c
599#elif CONFIG_LCD == LCD_SSD1815
600# if CONFIG_CPU == SH7034
601target/sh/archos/lcd-archos-bitmap.c
602target/sh/archos/lcd-as-archos-bitmap.S
603# else
604target/arm/lcd-ssd1815.c
605# endif
606#elif CONFIG_LCD == LCD_HX8340B
607target/arm/rk27xx/lcd-hifiman.c
608#elif CONFIG_LCD == LCD_C200
609target/arm/lcd-c200_c200v2.c
610#elif CONFIG_LCD == LCD_FUZE
611target/arm/as3525/lcd-fuze.c
612#elif CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO
613target/arm/ipod/lcd-color_nano.c
614#elif CONFIG_LCD == LCD_IPODMINI || CONFIG_LCD == LCD_IPOD2BPP
615target/arm/ipod/lcd-gray.c
616#elif defined(GIGABEAT_S) /* FIXME: LCD_GIGABEAT */
617target/arm/imx31/gigabeat-s/lcd-gigabeat-s.c
618#elif CONFIG_LCD == LCD_GIGABEAT
619target/arm/s3c2440/lcd-s3c2440.c
620#endif
621
593/* USB Stack */ 622/* USB Stack */
594#ifdef HAVE_USBSTACK 623#ifdef HAVE_USBSTACK
595usbstack/usb_core.c 624usbstack/usb_core.c
@@ -639,8 +668,6 @@ target/sh/archos/ata-as-archos.S
639target/sh/archos/uart-archos.c 668target/sh/archos/uart-archos.c
640target/sh/archos/player/button-player.c 669target/sh/archos/player/button-player.c
641target/sh/archos/player/hwcompat-player.c 670target/sh/archos/player/hwcompat-player.c
642target/sh/archos/player/lcd-as-player.S
643target/sh/archos/player/lcd-player.c
644target/sh/archos/player/power-player.c 671target/sh/archos/player/power-player.c
645target/sh/archos/player/powermgmt-player.c 672target/sh/archos/player/powermgmt-player.c
646target/sh/archos/player/usb-player.c 673target/sh/archos/player/usb-player.c
@@ -653,8 +680,6 @@ target/sh/archos/ata-archos.c
653target/sh/archos/timer-archos.c 680target/sh/archos/timer-archos.c
654target/sh/archos/ata-as-archos.S 681target/sh/archos/ata-as-archos.S
655target/sh/archos/uart-archos.c 682target/sh/archos/uart-archos.c
656target/sh/archos/lcd-archos-bitmap.c
657target/sh/archos/lcd-as-archos-bitmap.S
658target/sh/archos/recorder/button-recorder.c 683target/sh/archos/recorder/button-recorder.c
659target/sh/archos/recorder/power-recorder.c 684target/sh/archos/recorder/power-recorder.c
660target/sh/archos/recorder/powermgmt-recorder.c 685target/sh/archos/recorder/powermgmt-recorder.c
@@ -667,8 +692,6 @@ target/sh/archos/audio-archos.c
667target/sh/archos/ata-archos.c 692target/sh/archos/ata-archos.c
668target/sh/archos/timer-archos.c 693target/sh/archos/timer-archos.c
669target/sh/archos/ata-as-archos.S 694target/sh/archos/ata-as-archos.S
670target/sh/archos/lcd-archos-bitmap.c
671target/sh/archos/lcd-as-archos-bitmap.S
672target/sh/archos/fm_v2/button-fm_v2.c 695target/sh/archos/fm_v2/button-fm_v2.c
673target/sh/archos/fm_v2/power-fm_v2.c 696target/sh/archos/fm_v2/power-fm_v2.c
674target/sh/archos/fm_v2/powermgmt-fm_v2.c 697target/sh/archos/fm_v2/powermgmt-fm_v2.c
@@ -679,8 +702,6 @@ target/sh/archos/audio-archos.c
679 702
680#if defined(ARCHOS_ONDIOFM) || defined(ARCHOS_ONDIOSP) 703#if defined(ARCHOS_ONDIOFM) || defined(ARCHOS_ONDIOSP)
681target/sh/archos/timer-archos.c 704target/sh/archos/timer-archos.c
682target/sh/archos/lcd-archos-bitmap.c
683target/sh/archos/lcd-as-archos-bitmap.S
684target/sh/archos/ondio/button-ondio.c 705target/sh/archos/ondio/button-ondio.c
685target/sh/archos/ondio/power-ondio.c 706target/sh/archos/ondio/power-ondio.c
686target/sh/archos/ondio/powermgmt-ondio.c 707target/sh/archos/ondio/powermgmt-ondio.c
@@ -720,7 +741,6 @@ target/arm/powermgmt-ascodec.c
720target/arm/usb-fw-pp502x.c 741target/arm/usb-fw-pp502x.c
721target/arm/sandisk/backlight-c200_e200.c 742target/arm/sandisk/backlight-c200_e200.c
722target/arm/sandisk/power-c200_e200.c 743target/arm/sandisk/power-c200_e200.c
723target/arm/lcd-c200_c200v2.c
724target/arm/sandisk/sansa-c200/lcd-as-c200.S 744target/arm/sandisk/sansa-c200/lcd-as-c200.S
725target/arm/sandisk/sansa-c200/button-c200.c 745target/arm/sandisk/sansa-c200/button-c200.c
726target/arm/sandisk/sansa-c200/powermgmt-c200.c 746target/arm/sandisk/sansa-c200/powermgmt-c200.c
@@ -961,7 +981,6 @@ target/arm/mmu-arm.S
961target/arm/s3c2440/adc-s3c2440.c 981target/arm/s3c2440/adc-s3c2440.c
962target/arm/s3c2440/debug-s3c2440.c 982target/arm/s3c2440/debug-s3c2440.c
963target/arm/s3c2440/kernel-s3c2440.c 983target/arm/s3c2440/kernel-s3c2440.c
964target/arm/s3c2440/lcd-s3c2440.c
965target/arm/s3c2440/system-s3c2440.c 984target/arm/s3c2440/system-s3c2440.c
966target/arm/s3c2440/gigabeat-fx/ata-meg-fx.c 985target/arm/s3c2440/gigabeat-fx/ata-meg-fx.c
967target/arm/s3c2440/gigabeat-fx/backlight-meg-fx.c 986target/arm/s3c2440/gigabeat-fx/backlight-meg-fx.c
@@ -1002,7 +1021,6 @@ target/arm/imx31/gigabeat-s/button-gigabeat-s.c
1002target/arm/imx31/gigabeat-s/gpio-gigabeat-s.c 1021target/arm/imx31/gigabeat-s/gpio-gigabeat-s.c
1003target/arm/imx31/gigabeat-s/kernel-gigabeat-s.c 1022target/arm/imx31/gigabeat-s/kernel-gigabeat-s.c
1004target/arm/imx31/gigabeat-s/i2s-gigabeat-s.c 1023target/arm/imx31/gigabeat-s/i2s-gigabeat-s.c
1005target/arm/imx31/gigabeat-s/lcd-gigabeat-s.c
1006target/arm/imx31/gigabeat-s/mc13783-gigabeat-s.c 1024target/arm/imx31/gigabeat-s/mc13783-gigabeat-s.c
1007target/arm/imx31/gigabeat-s/power-gigabeat-s.c 1025target/arm/imx31/gigabeat-s/power-gigabeat-s.c
1008target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c 1026target/arm/imx31/gigabeat-s/powermgmt-gigabeat-s.c
@@ -1131,7 +1149,6 @@ target/arm/ipod/backlight-4g_color.c
1131target/arm/ipod/button-clickwheel.c 1149target/arm/ipod/button-clickwheel.c
1132target/arm/ipod/piezo.c 1150target/arm/ipod/piezo.c
1133target/arm/ipod/lcd-as-gray.S 1151target/arm/ipod/lcd-as-gray.S
1134target/arm/ipod/lcd-gray.c
1135target/arm/ipod/power-ipod.c 1152target/arm/ipod/power-ipod.c
1136target/arm/ipod/powermgmt-ipod-pcf.c 1153target/arm/ipod/powermgmt-ipod-pcf.c
1137target/arm/usb-fw-pp502x.c 1154target/arm/usb-fw-pp502x.c
@@ -1147,7 +1164,6 @@ target/arm/ipod/adc-ipod-pcf.c
1147target/arm/ipod/backlight-4g_color.c 1164target/arm/ipod/backlight-4g_color.c
1148target/arm/ipod/button-clickwheel.c 1165target/arm/ipod/button-clickwheel.c
1149target/arm/ipod/piezo.c 1166target/arm/ipod/piezo.c
1150target/arm/ipod/lcd-color_nano.c
1151target/arm/ipod/lcd-as-color-nano.S 1167target/arm/ipod/lcd-as-color-nano.S
1152target/arm/ipod/power-ipod.c 1168target/arm/ipod/power-ipod.c
1153target/arm/ipod/powermgmt-ipod-pcf.c 1169target/arm/ipod/powermgmt-ipod-pcf.c
@@ -1164,7 +1180,6 @@ target/arm/ipod/adc-ipod-pcf.c
1164target/arm/ipod/backlight-nano_video.c 1180target/arm/ipod/backlight-nano_video.c
1165target/arm/ipod/button-clickwheel.c 1181target/arm/ipod/button-clickwheel.c
1166target/arm/ipod/piezo.c 1182target/arm/ipod/piezo.c
1167target/arm/ipod/lcd-color_nano.c
1168target/arm/ipod/lcd-as-color-nano.S 1183target/arm/ipod/lcd-as-color-nano.S
1169target/arm/ipod/power-ipod.c 1184target/arm/ipod/power-ipod.c
1170target/arm/ipod/powermgmt-ipod-pcf.c 1185target/arm/ipod/powermgmt-ipod-pcf.c
@@ -1200,7 +1215,6 @@ target/arm/ipod/adc-ipod-pcf.c
1200target/arm/ipod/3g/backlight-3g.c 1215target/arm/ipod/3g/backlight-3g.c
1201target/arm/ipod/button-1g-3g.c 1216target/arm/ipod/button-1g-3g.c
1202target/arm/ipod/lcd-as-gray.S 1217target/arm/ipod/lcd-as-gray.S
1203target/arm/ipod/lcd-gray.c
1204target/arm/ipod/power-ipod.c 1218target/arm/ipod/power-ipod.c
1205target/arm/ipod/powermgmt-ipod-pcf.c 1219target/arm/ipod/powermgmt-ipod-pcf.c
1206target/arm/usb-fw-pp5002.c 1220target/arm/usb-fw-pp5002.c
@@ -1215,7 +1229,6 @@ target/arm/ipod/1g2g/backlight-1g2g.c
1215target/arm/ipod/1g2g/powermgmt-1g2g.c 1229target/arm/ipod/1g2g/powermgmt-1g2g.c
1216target/arm/ipod/button-1g-3g.c 1230target/arm/ipod/button-1g-3g.c
1217target/arm/ipod/lcd-as-gray.S 1231target/arm/ipod/lcd-as-gray.S
1218target/arm/ipod/lcd-gray.c
1219target/arm/ipod/power-ipod.c 1232target/arm/ipod/power-ipod.c
1220target/arm/usb-fw-pp5002.c 1233target/arm/usb-fw-pp5002.c
1221#endif /* IPOD_1G2G */ 1234#endif /* IPOD_1G2G */
@@ -1231,7 +1244,6 @@ target/arm/ipod/backlight-mini1g_mini2g.c
1231target/arm/ipod/button-mini1g.c 1244target/arm/ipod/button-mini1g.c
1232target/arm/ipod/piezo.c 1245target/arm/ipod/piezo.c
1233target/arm/ipod/lcd-as-gray.S 1246target/arm/ipod/lcd-as-gray.S
1234target/arm/ipod/lcd-gray.c
1235target/arm/ipod/power-ipod.c 1247target/arm/ipod/power-ipod.c
1236target/arm/ipod/powermgmt-ipod-pcf.c 1248target/arm/ipod/powermgmt-ipod-pcf.c
1237target/arm/usb-fw-pp502x.c 1249target/arm/usb-fw-pp502x.c
@@ -1248,7 +1260,6 @@ target/arm/ipod/backlight-mini1g_mini2g.c
1248target/arm/ipod/button-clickwheel.c 1260target/arm/ipod/button-clickwheel.c
1249target/arm/ipod/piezo.c 1261target/arm/ipod/piezo.c
1250target/arm/ipod/lcd-as-gray.S 1262target/arm/ipod/lcd-as-gray.S
1251target/arm/ipod/lcd-gray.c
1252target/arm/ipod/power-ipod.c 1263target/arm/ipod/power-ipod.c
1253target/arm/ipod/powermgmt-ipod-pcf.c 1264target/arm/ipod/powermgmt-ipod-pcf.c
1254target/arm/usb-fw-pp502x.c 1265target/arm/usb-fw-pp502x.c
@@ -1269,7 +1280,6 @@ target/arm/pnx0101/pcm-pnx0101.c
1269 1280
1270#ifdef LOGIK_DAX 1281#ifdef LOGIK_DAX
1271drivers/nand_id.c 1282drivers/nand_id.c
1272target/arm/lcd-ssd1815.c
1273target/arm/tcc77x/adc-tcc77x.c 1283target/arm/tcc77x/adc-tcc77x.c
1274target/arm/tcc77x/kernel-tcc77x.c 1284target/arm/tcc77x/kernel-tcc77x.c
1275target/arm/tcc77x/powermgmt-tcc77x.c 1285target/arm/tcc77x/powermgmt-tcc77x.c
@@ -1288,7 +1298,6 @@ target/arm/tcc77x/logikdax/audio-logikdax.c
1288 1298
1289#ifdef SANSA_M200 1299#ifdef SANSA_M200
1290drivers/nand_id.c 1300drivers/nand_id.c
1291target/arm/lcd-ssd1815.c
1292target/arm/tcc77x/adc-tcc77x.c 1301target/arm/tcc77x/adc-tcc77x.c
1293target/arm/tcc77x/kernel-tcc77x.c 1302target/arm/tcc77x/kernel-tcc77x.c
1294target/arm/tcc77x/powermgmt-tcc77x.c 1303target/arm/tcc77x/powermgmt-tcc77x.c
@@ -1324,7 +1333,6 @@ target/arm/tcc77x/c100/audio-c100.c
1324#endif /* SANSA_C100 */ 1333#endif /* SANSA_C100 */
1325 1334
1326#ifdef SANSA_CLIPPLUS 1335#ifdef SANSA_CLIPPLUS
1327target/arm/as3525/lcd-ssd1303.c
1328target/arm/as3525/sansa-clipplus/lcd-clip-plus.c 1336target/arm/as3525/sansa-clipplus/lcd-clip-plus.c
1329target/arm/as3525/sansa-clipplus/button-clip.c 1337target/arm/as3525/sansa-clipplus/button-clip.c
1330target/arm/as3525/sansa-clipplus/backlight-clip.c 1338target/arm/as3525/sansa-clipplus/backlight-clip.c
@@ -1336,7 +1344,6 @@ target/arm/as3525/sansa-clipplus/lcd-as-clip-plus.S
1336#endif /* SANSA_CLIPPLUS */ 1344#endif /* SANSA_CLIPPLUS */
1337 1345
1338#ifdef SANSA_CLIPV2 1346#ifdef SANSA_CLIPV2
1339target/arm/as3525/lcd-ssd1303.c
1340target/arm/as3525/sansa-clipv2/lcd-clipv2.c 1347target/arm/as3525/sansa-clipv2/lcd-clipv2.c
1341target/arm/as3525/button-clip.c 1348target/arm/as3525/button-clip.c
1342target/arm/as3525/sansa-clipv2/backlight-clipv2.c 1349target/arm/as3525/sansa-clipv2/backlight-clipv2.c
@@ -1348,7 +1355,6 @@ target/arm/as3525/sansa-clipv2/lcd-as-clipv2.S
1348#endif /* SANSA_CLIPV2 */ 1355#endif /* SANSA_CLIPV2 */
1349 1356
1350#ifdef SANSA_CLIP 1357#ifdef SANSA_CLIP
1351target/arm/as3525/lcd-ssd1303.c
1352target/arm/as3525/sansa-clip/lcd-clip.c 1358target/arm/as3525/sansa-clip/lcd-clip.c
1353target/arm/as3525/button-clip.c 1359target/arm/as3525/button-clip.c
1354#ifndef BOOTLOADER 1360#ifndef BOOTLOADER
@@ -1371,7 +1377,6 @@ target/arm/as3525/lcd-as-e200v2-fuze-fuzev2.S
1371#endif /* SANSA_E200V2 */ 1377#endif /* SANSA_E200V2 */
1372 1378
1373#ifdef SANSA_C200V2 1379#ifdef SANSA_C200V2
1374target/arm/lcd-c200_c200v2.c
1375target/arm/as3525/sansa-c200v2/button-c200v2.c 1380target/arm/as3525/sansa-c200v2/button-c200v2.c
1376target/arm/as3525/sansa-c200v2/backlight-c200v2.c 1381target/arm/as3525/sansa-c200v2/backlight-c200v2.c
1377target/arm/as3525/dbop-as3525.c 1382target/arm/as3525/dbop-as3525.c
@@ -1382,7 +1387,6 @@ target/arm/as3525/sansa-c200v2/powermgmt-c200v2.c
1382#endif /* SANSA_E200V2 */ 1387#endif /* SANSA_E200V2 */
1383 1388
1384#ifdef SANSA_M200V4 1389#ifdef SANSA_M200V4
1385target/arm/lcd-ssd1815.c
1386target/arm/as3525/sansa-m200v4/button-m200v4.c 1390target/arm/as3525/sansa-m200v4/button-m200v4.c
1387#ifndef BOOTLOADER 1391#ifndef BOOTLOADER
1388target/arm/as3525/sansa-m200v4/powermgmt-m200v4.c 1392target/arm/as3525/sansa-m200v4/powermgmt-m200v4.c
@@ -1391,7 +1395,6 @@ target/arm/as3525/sansa-m200v4/powermgmt-m200v4.c
1391 1395
1392#ifdef SANSA_FUZE 1396#ifdef SANSA_FUZE
1393target/arm/as3525/button-e200v2-fuze.c 1397target/arm/as3525/button-e200v2-fuze.c
1394target/arm/as3525/lcd-fuze.c
1395target/arm/as3525/sansa-fuze/lcd-fuzev1.c 1398target/arm/as3525/sansa-fuze/lcd-fuzev1.c
1396target/arm/as3525/backlight-e200v2-fuze.c 1399target/arm/as3525/backlight-e200v2-fuze.c
1397target/arm/as3525/dbop-as3525.c 1400target/arm/as3525/dbop-as3525.c
@@ -1403,7 +1406,6 @@ target/arm/as3525/lcd-as-e200v2-fuze-fuzev2.S
1403#endif /* SANSA_FUZE */ 1406#endif /* SANSA_FUZE */
1404 1407
1405#ifdef SANSA_FUZEV2 1408#ifdef SANSA_FUZEV2
1406target/arm/as3525/lcd-fuze.c
1407target/arm/as3525/sansa-fuzev2/lcd-fuzev2.c 1409target/arm/as3525/sansa-fuzev2/lcd-fuzev2.c
1408target/arm/as3525/sansa-fuzev2/backlight-fuzev2.c 1410target/arm/as3525/sansa-fuzev2/backlight-fuzev2.c
1409target/arm/as3525/sansa-fuzev2/button-fuzev2.c 1411target/arm/as3525/sansa-fuzev2/button-fuzev2.c
@@ -1663,7 +1665,6 @@ target/arm/mmu-arm.S
1663target/arm/s3c2440/debug-s3c2440.c 1665target/arm/s3c2440/debug-s3c2440.c
1664target/arm/s3c2440/dma-s3c2440.c 1666target/arm/s3c2440/dma-s3c2440.c
1665target/arm/s3c2440/kernel-s3c2440.c 1667target/arm/s3c2440/kernel-s3c2440.c
1666target/arm/s3c2440/lcd-s3c2440.c
1667target/arm/s3c2440/sd-s3c2440.c 1668target/arm/s3c2440/sd-s3c2440.c
1668target/arm/s3c2440/system-s3c2440.c 1669target/arm/s3c2440/system-s3c2440.c
1669target/arm/s3c2440/uart-s3c2440.c 1670target/arm/s3c2440/uart-s3c2440.c
@@ -1800,14 +1801,12 @@ target/coldfire/mpio/fmradio_i2c-mpio.c
1800target/arm/rk27xx/hm60x/button-hm60x.c 1801target/arm/rk27xx/hm60x/button-hm60x.c
1801target/arm/rk27xx/hm60x/powermgmt-hm60x.c 1802target/arm/rk27xx/hm60x/powermgmt-hm60x.c
1802target/arm/rk27xx/hm60x/power-hm60x.c 1803target/arm/rk27xx/hm60x/power-hm60x.c
1803target/arm/rk27xx/lcd-hifiman.c
1804#endif 1804#endif
1805 1805
1806#if defined(HM801) 1806#if defined(HM801)
1807target/arm/rk27xx/hm801/button-hm801.c 1807target/arm/rk27xx/hm801/button-hm801.c
1808target/arm/rk27xx/hm801/powermgmt-hm801.c 1808target/arm/rk27xx/hm801/powermgmt-hm801.c
1809target/arm/rk27xx/hm801/power-hm801.c 1809target/arm/rk27xx/hm801/power-hm801.c
1810target/arm/rk27xx/lcd-hifiman.c
1811#endif 1810#endif
1812 1811
1813#if (CONFIG_PLATFORM & PLATFORM_ANDROID) 1812#if (CONFIG_PLATFORM & PLATFORM_ANDROID)