diff --git a/firmware/SOURCES b/firmware/SOURCES index 5afd46954d..840348a105 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES @@ -133,8 +133,10 @@ target/hosted/sonynwz/audio-nwz.c target/hosted/sonynwz/debug-nwz.c target/hosted/sonynwz/nvp-nwz.c target/hosted/sonynwz/nwz-db.c +#if !defined(BOOTLOADER) target/hosted/sonynwz/nwzlinux-codec.c #endif +#endif #if ((defined(HIBY_LINUX) || defined(FIIO_M3K_LINUX) || defined(SAMSUNG_YPR0) || defined(SAMSUNG_YPR1) || defined(SONY_NWZ_LINUX)) && !defined(SIMULATOR)) target/hosted/pcm-alsa.c @@ -158,22 +160,28 @@ target/hosted/power-linux.c target/hosted/agptek/button-agptek.c target/hosted/agptek/debug-agptek.c target/hosted/agptek/powermgmt-agptek.c +#if !defined(BOOTLOADER) target/hosted/agptek/rocker_codec.c #endif +#endif #if defined(SURFANS_F28) && !defined(SIMULATOR) target/hosted/surfans/button-f28.c target/hosted/surfans/debug-f28.c target/hosted/surfans/powermgmt-f28.c +#if !defined(BOOTLOADER) target/hosted/surfans/surfanslinux_codec.c #endif +#endif #if (defined(XDUOO_X3II) || defined(XDUOO_X20)) && !defined(SIMULATOR) target/hosted/xduoo/button-xduoo.c target/hosted/xduoo/debug-xduoo.c target/hosted/xduoo/powermgmt-xduoo.c +#if !defined(BOOTLOADER) target/hosted/xduoo/xduoolinux_codec.c #endif +#endif #if defined(HIBY_LINUX) && !defined(SIMULATOR) target/hosted/usb-hiby.c @@ -187,16 +195,20 @@ target/hosted/fiio/debug-fiio.c target/hosted/fiio/powermgmt-fiio.c target/hosted/fiio/system-fiio.c target/hosted/fiio/usb-fiio.c +#if !defined(BOOTLOADER) target/hosted/fiio/fiiolinux_codec.c #endif +#endif -#if (defined(EROS_Q)) && !defined(SIMULATOR) +#if defined(EROS_Q) && !defined(SIMULATOR) target/hosted/aigo/button-erosq.c target/hosted/aigo/debug-erosq.c target/hosted/aigo/power-erosq.c target/hosted/aigo/powermgmt-erosq.c +#if !defined(BOOTLOADER) target/hosted/aigo/erosqlinux_codec.c #endif +#endif #if defined(SAMSUNG_YPR0) && !defined(SIMULATOR) drivers/adc-as3514.c diff --git a/firmware/target/hosted/sdl/sdl_codec.h b/firmware/target/hosted/sdl_codec.h similarity index 100% rename from firmware/target/hosted/sdl/sdl_codec.h rename to firmware/target/hosted/sdl_codec.h