summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2011-12-15 20:39:55 +0000
committerRafaël Carré <rafael.carre@gmail.com>2011-12-15 20:39:55 +0000
commit78368f7268adc4a26722065f5af04396c3b471b5 (patch)
tree964ee13f4cf36cdf02f460ab716466d8aaac0c42
parentd46da0d396d489c257e3fab92fdfa6ba858582b5 (diff)
downloadrockbox-78368f7268adc4a26722065f5af04396c3b471b5.tar.gz
rockbox-78368f7268adc4a26722065f5af04396c3b471b5.tar.bz2
rockbox-78368f7268adc4a26722065f5af04396c3b471b5.zip
MPIO: factorize source files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31293 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/SOURCES31
1 files changed, 12 insertions, 19 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index d9a3ab586a..bc268eaa86 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -701,6 +701,10 @@ target/arm/tcc77x/adc-tcc77x.c
#endif /* CONFIG_I2C */
+#ifdef HAVE_WM8750
+target/coldfire/wmcodec-coldfire.c
+#endif
+
#ifdef CPU_SH
target/sh/archos/mascodec-archos.c
target/sh/archos/audio-archos.c
@@ -1745,7 +1749,7 @@ target/arm/pbell/vibe500/powermgmt-vibe500.c
target/arm/usb-fw-pp502x.c
#endif
-#ifdef MPIO_HD200
+#if defined(MPIO_HD200) || defined(MPIO_HD300)
/* TODO: currently including all files */
target/coldfire/ata-as-coldfire.S
target/coldfire/mpio/system-mpio.c
@@ -1754,35 +1758,24 @@ target/coldfire/mpio/backlight-mpio.c
target/coldfire/mpio/usb-mpio.c
target/coldfire/mpio/ata-mpio.c
target/coldfire/mpio/adc-mpio.c
-target/coldfire/mpio/hd200/button-hd200.c
-target/coldfire/mpio/hd200/lcd-hd200.c
-target/coldfire/mpio/hd200/lcd-as-hd200.S
-target/coldfire/mpio/hd200/powermgmt-hd200.c
#ifndef BOOTLOADER
target/coldfire/mpio/audio-mpio.c
-target/coldfire/wmcodec-coldfire.c
target/coldfire/mpio/fmradio_i2c-mpio.c
#endif /* BOOTLOADER */
#endif
#ifdef MPIO_HD300
-/* TODO: currently including all files */
-target/coldfire/ata-as-coldfire.S
-target/coldfire/mpio/system-mpio.c
-target/coldfire/mpio/power-mpio.c
-target/coldfire/mpio/backlight-mpio.c
-target/coldfire/mpio/usb-mpio.c
-target/coldfire/mpio/ata-mpio.c
-target/coldfire/mpio/adc-mpio.c
+target/coldfire/mpio/hd200/button-hd200.c
+target/coldfire/mpio/hd200/lcd-hd200.c
+target/coldfire/mpio/hd200/lcd-as-hd200.S
+target/coldfire/mpio/hd200/powermgmt-hd200.c
+#endif
+
+#ifdef MPIO_HD300
target/coldfire/mpio/hd300/button-hd300.c
target/coldfire/mpio/hd300/lcd-hd300.c
target/coldfire/mpio/hd300/lcd-as-hd300.S
target/coldfire/mpio/hd300/powermgmt-hd300.c
-#ifndef BOOTLOADER
-target/coldfire/mpio/audio-mpio.c
-target/coldfire/wmcodec-coldfire.c
-target/coldfire/mpio/fmradio_i2c-mpio.c
-#endif /* BOOTLOADER */
#endif
#if defined(HM60X)