summaryrefslogtreecommitdiff
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.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
436#endif /* BOOTLOADER */ 436#endif /* BOOTLOADER */
437 437
438/* Audio codec */ 438/* Audio codec */
439#if (CONFIG_PLATFORM & PLATFORM_NATIVE) && !defined(BOOTLOADER) 439#if !defined(BOOTLOADER)
440
441#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
440#if defined(HAVE_UDA1380) 442#if defined(HAVE_UDA1380)
441drivers/audio/uda1380.c 443drivers/audio/uda1380.c
442#elif defined(HAVE_WM8740) 444#elif defined(HAVE_WM8740)
@@ -506,7 +508,9 @@ target/hosted/sdl/pcm-sdl.c
506#endif /* (CONFIG_PLATFORM & PLATFORM_MAEMO) */ 508#endif /* (CONFIG_PLATFORM & PLATFORM_MAEMO) */
507 509
508#endif 510#endif
509#endif /* (CONFIG_PLATFORM & PLATFORM_NATIVE) && !defined(BOOTLOADER) */ 511#endif /* (CONFIG_PLATFORM & PLATFORM_NATIVE) */
512
513#endif /* !defined(BOOTLOADER) */
510 514
511/* CPU Specific - By class then particular chip if applicable */ 515/* CPU Specific - By class then particular chip if applicable */
512#if defined(CPU_COLDFIRE) 516#if defined(CPU_COLDFIRE)