summaryrefslogtreecommitdiff
path: root/firmware/SOURCES
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2011-12-16 00:03:32 +0000
committerRafaël Carré <rafael.carre@gmail.com>2011-12-16 00:03:32 +0000
commit6a032a2db19930925626536d4e117d29527148c6 (patch)
tree8df9f4bb9a33f74a68ab125f2c8230b7a107b36d /firmware/SOURCES
parent5fdfe86af8b0b084ffc4dac18565a26eb2a8f9dd (diff)
Factorize ipod mini common code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31318 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/SOURCES')
-rw-r--r--firmware/SOURCES13
1 files changed, 5 insertions, 8 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index 8329bb4751..507972a07a 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -1209,24 +1209,21 @@ target/arm/ipod/lcd-as-gray.S
target/arm/ipod/power-ipod.c
#endif /* IPOD_1G2G */
-#ifdef IPOD_MINI
+#if defined(IPOD_MINI) || defined(IPOD_MINI2G)
drivers/pcf50605.c
target/arm/ipod/backlight-mini1g_mini2g.c
-target/arm/ipod/button-mini1g.c
target/arm/ipod/piezo.c
target/arm/ipod/lcd-as-gray.S
target/arm/ipod/power-ipod.c
target/arm/ipod/powermgmt-ipod-pcf.c
+#endif
+
+#ifdef IPOD_MINI
+target/arm/ipod/button-mini1g.c
#endif /* IPOD_MINI */
#ifdef IPOD_MINI2G
-drivers/pcf50605.c
-target/arm/ipod/backlight-mini1g_mini2g.c
target/arm/ipod/button-clickwheel.c
-target/arm/ipod/piezo.c
-target/arm/ipod/lcd-as-gray.S
-target/arm/ipod/power-ipod.c
-target/arm/ipod/powermgmt-ipod-pcf.c
#endif /* IPOD_MINI2G */
#ifdef IRIVER_IFP7XX