diff options
| author | Lorenzo Miori <memoryS60@gmail.com> | 2013-12-28 19:00:57 +0100 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2014-02-05 21:57:31 +0100 |
| commit | f005d841f292287326b8b9d1a74aac9bf3abbfc3 (patch) | |
| tree | 4839b0a83e9af55a372610d65916aecbf06c563a /firmware/SOURCES | |
| parent | e32ace831af98fd50bf0c08999802ce0f6a51bc8 (diff) | |
| download | rockbox-f005d841f292287326b8b9d1a74aac9bf3abbfc3.zip rockbox-f005d841f292287326b8b9d1a74aac9bf3abbfc3.tar.gz rockbox-f005d841f292287326b8b9d1a74aac9bf3abbfc3.tar.bz2 rockbox-f005d841f292287326b8b9d1a74aac9bf3abbfc3.tar.xz | |
Samsung YP-R0/YP-R1 refactoring
This patch includes some refactoring:
- renaming according to Rockbox guidelines
- GPIO code merging, still with target defines
- some simplification in firmware/SOURCES
Change-Id: I7fd95aece53f40efdf8caac22348376615795431
Diffstat (limited to 'firmware/SOURCES')
| -rw-r--r-- | firmware/SOURCES | 35 |
1 files changed, 14 insertions, 21 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES index f062a01..38e4bef 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES @@ -74,54 +74,47 @@ target/hosted/sdl/app/button-application.c #endif #endif +#if defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1) +target/hosted/kernel-unix.c +target/hosted/filesystem-unix.c +target/hosted/lc-unix.c +thread.c +drivers/lcd-memframe.c +target/hosted/samsungypr/lcd-ypr.c +target/hosted/samsungypr/gpio-ypr.c +#if CONFIG_TUNER +target/hosted/samsungypr/radio-ypr.c +#endif +#endif + #if defined(SAMSUNG_YPR0) && !defined(SIMULATOR) drivers/adc-as3514.c -drivers/lcd-memframe.c #if (CONFIG_RTC == RTC_AS3514) drivers/rtc/rtc_as3514.c #else target/hosted/rtc.c #endif -target/hosted/kernel-unix.c -target/hosted/filesystem-unix.c -target/hosted/lc-unix.c target/hosted/samsungypr/ypr0/button-ypr0.c -target/hosted/samsungypr/lcd-ypr.c target/hosted/samsungypr/ypr0/system-ypr0.c -thread.c #ifdef HAVE_BACKLIGHT target/hosted/samsungypr/ypr0/backlight-ypr0.c #endif target/hosted/samsungypr/ypr0/ascodec-ypr0.c target/hosted/samsungypr/ypr0/powermgmt-ypr0.c -target/hosted/samsungypr/gpio_ypr.c target/hosted/samsungypr/ypr0/audio-ypr0.c -#if CONFIG_TUNER -target/hosted/samsungypr/radio-ypr.c -#endif #endif -#ifdef SAMSUNG_YPR1 -drivers/lcd-memframe.c -target/hosted/kernel-unix.c -target/hosted/filesystem-unix.c -target/hosted/lc-unix.c +#if defined(SAMSUNG_YPR1) && !defined(SIMULATOR) target/hosted/samsungypr/ypr1/mcs5000-ypr1.c target/hosted/samsungypr/ypr1/button-ypr1.c -target/hosted/samsungypr/lcd-ypr.c target/hosted/samsungypr/ypr1/system-ypr1.c -thread.c #ifdef HAVE_BACKLIGHT target/hosted/samsungypr/ypr1/backlight-ypr1.c #endif target/hosted/samsungypr/ypr1/powermgmt-ypr1.c -target/hosted/samsungypr/gpio_ypr.c target/hosted/samsungypr/ypr1/audio-ypr1.c target/hosted/samsungypr/ypr1/pmu-ypr1.c target/hosted/samsungypr/ypr1/wmcodec-ypr1.c -#if CONFIG_TUNER -target/hosted/samsungypr/radio-ypr.c -#endif #endif /* Maemo specific files */ |