summaryrefslogtreecommitdiffstats
path: root/firmware/SOURCES
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-10-08 17:22:06 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-10-08 19:20:50 -0400
commitdc81f96fd1bf3ddfe4c9e750ff14a0238f85d776 (patch)
treedbf25789aed73f92ba3a0adeca2daf16eafcb739 /firmware/SOURCES
parentff6e175c20b816ebcdbd5bd6d9a4db2cf4b4c4c1 (diff)
downloadrockbox-dc81f96fd1bf3ddfe4c9e750ff14a0238f85d776.tar.gz
rockbox-dc81f96fd1bf3ddfe4c9e750ff14a0238f85d776.tar.bz2
rockbox-dc81f96fd1bf3ddfe4c9e750ff14a0238f85d776.zip
Don't compile audio codecs into native bootloader builds.
Change-Id: I0b2cc143572bf88423bdf7647cee0af567aee684
Diffstat (limited to 'firmware/SOURCES')
-rw-r--r--firmware/SOURCES8
1 files changed, 6 insertions, 2 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES
index a68d10ec76..1471eb7b94 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -436,7 +436,9 @@ drivers/audio/audiohw-swcodec.c
#endif /* BOOTLOADER */
/* Audio codec */
-#if (CONFIG_PLATFORM & PLATFORM_NATIVE) && !defined(BOOTLOADER)
+#if !defined(BOOTLOADER)
+
+#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
#if defined(HAVE_UDA1380)
drivers/audio/uda1380.c
#elif defined(HAVE_WM8740)
@@ -506,7 +508,9 @@ target/hosted/sdl/pcm-sdl.c
#endif /* (CONFIG_PLATFORM & PLATFORM_MAEMO) */
#endif
-#endif /* (CONFIG_PLATFORM & PLATFORM_NATIVE) && !defined(BOOTLOADER) */
+#endif /* (CONFIG_PLATFORM & PLATFORM_NATIVE) */
+
+#endif /* !defined(BOOTLOADER) */
/* CPU Specific - By class then particular chip if applicable */
#if defined(CPU_COLDFIRE)