summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2011-12-16 00:21:12 +0000
committerRafaël Carré <rafael.carre@gmail.com>2011-12-16 00:21:12 +0000
commit014003afac4e6ab5f132df25e0e92106ed21607a (patch)
treefcb3d385ad4e8e3f8afd68e95d7bc555f6c0e8dd
parentff1c5674172c4d0a5c420b8b20e7db0bd20f71ff (diff)
downloadrockbox-014003afac4e6ab5f132df25e0e92106ed21607a.tar.gz
rockbox-014003afac4e6ab5f132df25e0e92106ed21607a.zip
factorize build of ipod files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31320 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/SOURCES42
1 files changed, 14 insertions, 28 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index 507972a07a..7f9f3319ad 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -451,6 +451,20 @@ target/arm/ata-as-arm.S
451# endif 451# endif
452#endif 452#endif
453 453
454#if defined(CPU_PP) && defined(IPOD_ARCH)
455target/arm/ipod/power-ipod.c
456# if LCD_DEPTH == 2
457target/arm/ipod/lcd-as-gray.S
458# endif
459# ifndef IPOD_1G2G
460# ifndef IPOD_3G
461target/arm/ipod/piezo.c
462# endif /* IPOD_3G */
463drivers/pcf50605.c
464target/arm/ipod/powermgmt-ipod-pcf.c
465# endif /* IPOD_1G2G */
466#endif /* CPU_PP && IPOD_ARCH */
467
454#if CONFIG_I2C == I2C_PP5024 || CONFIG_I2C == I2C_PP5020 || CONFIG_I2C == I2C_PP5002 468#if CONFIG_I2C == I2C_PP5024 || CONFIG_I2C == I2C_PP5020 || CONFIG_I2C == I2C_PP5002
455target/arm/i2c-pp.c 469target/arm/i2c-pp.c
456#elif CONFIG_I2C == I2C_PNX0101 470#elif CONFIG_I2C == I2C_PNX0101
@@ -1149,42 +1163,25 @@ target/arm/tatung/tpj1022/powermgmt-tpj1022.c
1149#endif /* TATUNG_TPJ1022 */ 1163#endif /* TATUNG_TPJ1022 */
1150 1164
1151#ifdef IPOD_4G 1165#ifdef IPOD_4G
1152drivers/pcf50605.c
1153target/arm/ipod/backlight-4g_color.c 1166target/arm/ipod/backlight-4g_color.c
1154target/arm/ipod/button-clickwheel.c 1167target/arm/ipod/button-clickwheel.c
1155target/arm/ipod/piezo.c
1156target/arm/ipod/lcd-as-gray.S
1157target/arm/ipod/power-ipod.c
1158target/arm/ipod/powermgmt-ipod-pcf.c
1159#endif /* IPOD_4G */ 1168#endif /* IPOD_4G */
1160 1169
1161#ifdef IPOD_COLOR 1170#ifdef IPOD_COLOR
1162drivers/pcf50605.c
1163target/arm/ipod/backlight-4g_color.c 1171target/arm/ipod/backlight-4g_color.c
1164target/arm/ipod/button-clickwheel.c 1172target/arm/ipod/button-clickwheel.c
1165target/arm/ipod/piezo.c
1166target/arm/ipod/lcd-as-color-nano.S 1173target/arm/ipod/lcd-as-color-nano.S
1167target/arm/ipod/power-ipod.c
1168target/arm/ipod/powermgmt-ipod-pcf.c
1169#endif /* IPOD_COLOR */ 1174#endif /* IPOD_COLOR */
1170 1175
1171#ifdef IPOD_NANO 1176#ifdef IPOD_NANO
1172drivers/pcf50605.c
1173target/arm/ipod/backlight-nano_video.c 1177target/arm/ipod/backlight-nano_video.c
1174target/arm/ipod/button-clickwheel.c 1178target/arm/ipod/button-clickwheel.c
1175target/arm/ipod/piezo.c
1176target/arm/ipod/lcd-as-color-nano.S 1179target/arm/ipod/lcd-as-color-nano.S
1177target/arm/ipod/power-ipod.c
1178target/arm/ipod/powermgmt-ipod-pcf.c
1179#endif /* IPOD_NANO */ 1180#endif /* IPOD_NANO */
1180 1181
1181#ifdef IPOD_VIDEO 1182#ifdef IPOD_VIDEO
1182drivers/pcf50605.c
1183target/arm/ipod/backlight-nano_video.c 1183target/arm/ipod/backlight-nano_video.c
1184target/arm/ipod/button-clickwheel.c 1184target/arm/ipod/button-clickwheel.c
1185target/arm/ipod/piezo.c
1186target/arm/ipod/power-ipod.c
1187target/arm/ipod/powermgmt-ipod-pcf.c
1188target/arm/ipod/video/lcd-as-video.S 1185target/arm/ipod/video/lcd-as-video.S
1189target/arm/ipod/video/lcd-video.c 1186target/arm/ipod/video/lcd-video.c
1190#ifndef BOOTLOADER 1187#ifndef BOOTLOADER
@@ -1193,29 +1190,18 @@ target/arm/ipod/video/battery-video.c
1193#endif /* IPOD_VIDEO */ 1190#endif /* IPOD_VIDEO */
1194 1191
1195#ifdef IPOD_3G 1192#ifdef IPOD_3G
1196drivers/pcf50605.c
1197target/arm/ipod/3g/backlight-3g.c 1193target/arm/ipod/3g/backlight-3g.c
1198target/arm/ipod/button-1g-3g.c 1194target/arm/ipod/button-1g-3g.c
1199target/arm/ipod/lcd-as-gray.S
1200target/arm/ipod/power-ipod.c
1201target/arm/ipod/powermgmt-ipod-pcf.c
1202#endif /* IPOD_3G */ 1195#endif /* IPOD_3G */
1203 1196
1204#ifdef IPOD_1G2G 1197#ifdef IPOD_1G2G
1205target/arm/ipod/1g2g/backlight-1g2g.c 1198target/arm/ipod/1g2g/backlight-1g2g.c
1206target/arm/ipod/1g2g/powermgmt-1g2g.c 1199target/arm/ipod/1g2g/powermgmt-1g2g.c
1207target/arm/ipod/button-1g-3g.c 1200target/arm/ipod/button-1g-3g.c
1208target/arm/ipod/lcd-as-gray.S
1209target/arm/ipod/power-ipod.c
1210#endif /* IPOD_1G2G */ 1201#endif /* IPOD_1G2G */
1211 1202
1212#if defined(IPOD_MINI) || defined(IPOD_MINI2G) 1203#if defined(IPOD_MINI) || defined(IPOD_MINI2G)
1213drivers/pcf50605.c
1214target/arm/ipod/backlight-mini1g_mini2g.c 1204target/arm/ipod/backlight-mini1g_mini2g.c
1215target/arm/ipod/piezo.c
1216target/arm/ipod/lcd-as-gray.S
1217target/arm/ipod/power-ipod.c
1218target/arm/ipod/powermgmt-ipod-pcf.c
1219#endif 1205#endif
1220 1206
1221#ifdef IPOD_MINI 1207#ifdef IPOD_MINI