From 26479534e2d7de8e2e2077d98d00d34430343f6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Thu, 15 Dec 2011 21:54:06 +0000 Subject: [PATCH] factorize c200v1/e200v1 common files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31306 a1c6a512-1295-4272-9138-f99709370657 --- firmware/SOURCES | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/firmware/SOURCES b/firmware/SOURCES index eb7cc9575a..967c7ebd50 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES @@ -769,33 +769,28 @@ target/sh/archos/ondio/fmradio_i2c-ondio.c #endif #endif /* ARCHOS_ONDIOFM || ARCHOS_ONDIOFM */ -#ifdef SANSA_E200 +#if defined(SANSA_E200) || defined(SANSA_C200) target/arm/ata-sd-pp.c -target/arm/lcd-as-memframe.S target/arm/i2s-pp.c target/arm/usb-fw-pp502x.c target/arm/sandisk/backlight-c200_e200.c target/arm/sandisk/power-c200_e200.c +#ifndef BOOTLOADER +target/arm/sandisk/audio-c200_e200.c +#endif /* BOOTLOADER */ +#endif /* SANSA_E200 || SANSA_C200 */ + +#ifdef SANSA_E200 +target/arm/lcd-as-memframe.S target/arm/sandisk/sansa-e200/lcd-e200.c target/arm/sandisk/sansa-e200/button-e200.c target/arm/sandisk/sansa-e200/powermgmt-e200.c -#ifndef BOOTLOADER -target/arm/sandisk/audio-c200_e200.c -#endif /* BOOTLOADER */ #endif /* SANSA_E200 */ #ifdef SANSA_C200 -target/arm/ata-sd-pp.c -target/arm/i2s-pp.c -target/arm/usb-fw-pp502x.c -target/arm/sandisk/backlight-c200_e200.c -target/arm/sandisk/power-c200_e200.c target/arm/sandisk/sansa-c200/lcd-as-c200.S target/arm/sandisk/sansa-c200/button-c200.c target/arm/sandisk/sansa-c200/powermgmt-c200.c -#ifndef BOOTLOADER -target/arm/sandisk/audio-c200_e200.c -#endif /* BOOTLOADER */ #endif /* SANSA_C200 */ #ifdef SANSA_VIEW