diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2011-12-16 00:21:12 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2011-12-16 00:21:12 +0000 |
commit | 014003afac4e6ab5f132df25e0e92106ed21607a (patch) | |
tree | fcb3d385ad4e8e3f8afd68e95d7bc555f6c0e8dd /firmware/SOURCES | |
parent | ff1c5674172c4d0a5c420b8b20e7db0bd20f71ff (diff) | |
download | rockbox-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
Diffstat (limited to 'firmware/SOURCES')
-rw-r--r-- | firmware/SOURCES | 42 |
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) | ||
455 | target/arm/ipod/power-ipod.c | ||
456 | # if LCD_DEPTH == 2 | ||
457 | target/arm/ipod/lcd-as-gray.S | ||
458 | # endif | ||
459 | # ifndef IPOD_1G2G | ||
460 | # ifndef IPOD_3G | ||
461 | target/arm/ipod/piezo.c | ||
462 | # endif /* IPOD_3G */ | ||
463 | drivers/pcf50605.c | ||
464 | target/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 |
455 | target/arm/i2c-pp.c | 469 | target/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 |
1152 | drivers/pcf50605.c | ||
1153 | target/arm/ipod/backlight-4g_color.c | 1166 | target/arm/ipod/backlight-4g_color.c |
1154 | target/arm/ipod/button-clickwheel.c | 1167 | target/arm/ipod/button-clickwheel.c |
1155 | target/arm/ipod/piezo.c | ||
1156 | target/arm/ipod/lcd-as-gray.S | ||
1157 | target/arm/ipod/power-ipod.c | ||
1158 | target/arm/ipod/powermgmt-ipod-pcf.c | ||
1159 | #endif /* IPOD_4G */ | 1168 | #endif /* IPOD_4G */ |
1160 | 1169 | ||
1161 | #ifdef IPOD_COLOR | 1170 | #ifdef IPOD_COLOR |
1162 | drivers/pcf50605.c | ||
1163 | target/arm/ipod/backlight-4g_color.c | 1171 | target/arm/ipod/backlight-4g_color.c |
1164 | target/arm/ipod/button-clickwheel.c | 1172 | target/arm/ipod/button-clickwheel.c |
1165 | target/arm/ipod/piezo.c | ||
1166 | target/arm/ipod/lcd-as-color-nano.S | 1173 | target/arm/ipod/lcd-as-color-nano.S |
1167 | target/arm/ipod/power-ipod.c | ||
1168 | target/arm/ipod/powermgmt-ipod-pcf.c | ||
1169 | #endif /* IPOD_COLOR */ | 1174 | #endif /* IPOD_COLOR */ |
1170 | 1175 | ||
1171 | #ifdef IPOD_NANO | 1176 | #ifdef IPOD_NANO |
1172 | drivers/pcf50605.c | ||
1173 | target/arm/ipod/backlight-nano_video.c | 1177 | target/arm/ipod/backlight-nano_video.c |
1174 | target/arm/ipod/button-clickwheel.c | 1178 | target/arm/ipod/button-clickwheel.c |
1175 | target/arm/ipod/piezo.c | ||
1176 | target/arm/ipod/lcd-as-color-nano.S | 1179 | target/arm/ipod/lcd-as-color-nano.S |
1177 | target/arm/ipod/power-ipod.c | ||
1178 | target/arm/ipod/powermgmt-ipod-pcf.c | ||
1179 | #endif /* IPOD_NANO */ | 1180 | #endif /* IPOD_NANO */ |
1180 | 1181 | ||
1181 | #ifdef IPOD_VIDEO | 1182 | #ifdef IPOD_VIDEO |
1182 | drivers/pcf50605.c | ||
1183 | target/arm/ipod/backlight-nano_video.c | 1183 | target/arm/ipod/backlight-nano_video.c |
1184 | target/arm/ipod/button-clickwheel.c | 1184 | target/arm/ipod/button-clickwheel.c |
1185 | target/arm/ipod/piezo.c | ||
1186 | target/arm/ipod/power-ipod.c | ||
1187 | target/arm/ipod/powermgmt-ipod-pcf.c | ||
1188 | target/arm/ipod/video/lcd-as-video.S | 1185 | target/arm/ipod/video/lcd-as-video.S |
1189 | target/arm/ipod/video/lcd-video.c | 1186 | target/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 |
1196 | drivers/pcf50605.c | ||
1197 | target/arm/ipod/3g/backlight-3g.c | 1193 | target/arm/ipod/3g/backlight-3g.c |
1198 | target/arm/ipod/button-1g-3g.c | 1194 | target/arm/ipod/button-1g-3g.c |
1199 | target/arm/ipod/lcd-as-gray.S | ||
1200 | target/arm/ipod/power-ipod.c | ||
1201 | target/arm/ipod/powermgmt-ipod-pcf.c | ||
1202 | #endif /* IPOD_3G */ | 1195 | #endif /* IPOD_3G */ |
1203 | 1196 | ||
1204 | #ifdef IPOD_1G2G | 1197 | #ifdef IPOD_1G2G |
1205 | target/arm/ipod/1g2g/backlight-1g2g.c | 1198 | target/arm/ipod/1g2g/backlight-1g2g.c |
1206 | target/arm/ipod/1g2g/powermgmt-1g2g.c | 1199 | target/arm/ipod/1g2g/powermgmt-1g2g.c |
1207 | target/arm/ipod/button-1g-3g.c | 1200 | target/arm/ipod/button-1g-3g.c |
1208 | target/arm/ipod/lcd-as-gray.S | ||
1209 | target/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) |
1213 | drivers/pcf50605.c | ||
1214 | target/arm/ipod/backlight-mini1g_mini2g.c | 1204 | target/arm/ipod/backlight-mini1g_mini2g.c |
1215 | target/arm/ipod/piezo.c | ||
1216 | target/arm/ipod/lcd-as-gray.S | ||
1217 | target/arm/ipod/power-ipod.c | ||
1218 | target/arm/ipod/powermgmt-ipod-pcf.c | ||
1219 | #endif | 1205 | #endif |
1220 | 1206 | ||
1221 | #ifdef IPOD_MINI | 1207 | #ifdef IPOD_MINI |