From 213b8ce74b1d677014a07993ca6268cacccfe211 Mon Sep 17 00:00:00 2001 From: Rafaël Carré Date: Thu, 15 Dec 2011 21:26:03 +0000 Subject: SOURCES: factorize TCC77x files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31300 a1c6a512-1295-4272-9138-f99709370657 --- firmware/SOURCES | 48 ++++++++++++++++++------------------------------ 1 file changed, 18 insertions(+), 30 deletions(-) diff --git a/firmware/SOURCES b/firmware/SOURCES index 0bf427d661..f7e35c1864 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES @@ -717,6 +717,24 @@ target/sh/archos/uart-archos.c # endif #endif +#ifdef CPU_TCC77X +target/arm/usb-tcc.c +target/arm/tcc77x/kernel-tcc77x.c +target/arm/tcc77x/system-tcc77x.c +target/arm/tcc77x/timer-tcc77x.c +# ifndef IAUDIO7 +target/arm/tcc77x/powermgmt-tcc77x.c +# endif /* !IAUDIO7 */ +# ifndef BOOTLOADER +# ifndef SANSA_C100 +target/arm/wmcodec-telechips.c +# endif /* !C100 */ +target/arm/pcm-telechips.c +target/arm/tcc77x/debug-tcc77x.c +# endif /* !BOOTLOADER */ +#endif /* CPU_TCC77X */ + + #ifdef ARCHOS_PLAYER target/sh/archos/player/button-player.c target/sh/archos/player/hwcompat-player.c @@ -1264,51 +1282,28 @@ target/arm/pnx0101/pcm-pnx0101.c #ifdef LOGIK_DAX drivers/nand_id.c -target/arm/tcc77x/kernel-tcc77x.c -target/arm/tcc77x/powermgmt-tcc77x.c -target/arm/tcc77x/system-tcc77x.c -target/arm/tcc77x/timer-tcc77x.c -target/arm/usb-tcc.c target/arm/tcc77x/logikdax/button-logikdax.c target/arm/tcc77x/logikdax/power-logikdax.c #ifndef BOOTLOADER -target/arm/wmcodec-telechips.c -target/arm/tcc77x/debug-tcc77x.c -target/arm/pcm-telechips.c target/arm/tcc77x/logikdax/audio-logikdax.c #endif /* BOOTLOADER */ #endif /* LOGIK_DAX */ #ifdef SANSA_M200 drivers/nand_id.c -target/arm/tcc77x/kernel-tcc77x.c -target/arm/tcc77x/powermgmt-tcc77x.c -target/arm/tcc77x/system-tcc77x.c -target/arm/tcc77x/timer-tcc77x.c -target/arm/usb-tcc.c target/arm/tcc77x/m200/button-m200.c target/arm/tcc77x/m200/power-m200.c #ifndef BOOTLOADER -target/arm/wmcodec-telechips.c -target/arm/tcc77x/debug-tcc77x.c -target/arm/pcm-telechips.c target/arm/tcc77x/m200/audio-m200.c #endif /* BOOTLOADER */ #endif /* SANSA_M200 */ #ifdef SANSA_C100 drivers/nand_id.c -target/arm/usb-tcc.c -target/arm/tcc77x/system-tcc77x.c -target/arm/tcc77x/kernel-tcc77x.c -target/arm/tcc77x/timer-tcc77x.c -target/arm/tcc77x/powermgmt-tcc77x.c target/arm/tcc77x/c100/lcd-S6B33B2.c target/arm/tcc77x/c100/button-c100.c target/arm/tcc77x/c100/power-c100.c #ifndef BOOTLOADER -target/arm/tcc77x/debug-tcc77x.c -target/arm/pcm-telechips.c target/arm/tcc77x/c100/audio-c100.c #endif /* BOOTLOADER */ #endif /* SANSA_C100 */ @@ -1419,19 +1414,12 @@ target/arm/as3525/sansa-clipzip/powermgmt-clipzip.c #ifdef IAUDIO_7 drivers/nand_id.c drivers/pcf50606.c -target/arm/usb-tcc.c -target/arm/tcc77x/system-tcc77x.c -target/arm/tcc77x/kernel-tcc77x.c -target/arm/tcc77x/timer-tcc77x.c target/arm/tcc77x/iaudio7/lcd-iaudio7.c target/arm/tcc77x/iaudio7/power-iaudio7.c target/arm/tcc77x/iaudio7/powermgmt-iaudio7.c target/arm/tcc77x/iaudio7/button-iaudio7.c target/arm/tcc77x/iaudio7/ata2501.c #ifndef BOOTLOADER -target/arm/wmcodec-telechips.c -target/arm/pcm-telechips.c -target/arm/tcc77x/debug-tcc77x.c target/arm/tcc77x/iaudio7/audio-iaudio7.c #endif /* BOOTLOADER */ #endif /* IAUDIO_7 */ -- cgit v1.2.3