bootloader: Don't compile sound.c in bootloader builds

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit 3f4d5a527b7a739eb46fa5bc2a91d37eec38eb48
Author: Solomon Peachy <[email protected]>
Date:   Sat Mar 28 12:43:59 2026 -0400

    bootloader:  Don't compile sound.c in bootloader builds
    
    (a) Nothing uses it, and (b) stuff it needs isn't built either
    
    Change-Id: Ib8b46e00d4306f7d05b47883bfaa98497a075db5

diff --git a/firmware/SOURCES b/firmware/SOURCES
index 14365f965e..888d296fd0 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -527,12 +527,11 @@ drivers/rds.c
 #endif /* HAVE_RDS_CAP */
 #endif /* PLATFORM_NATIVE */
 #endif /* CONFIG_TUNER */
-#endif /* BOOTLOADER */
+#endif /* !BOOTLOADER */
 
 /* Sound */
-sound.c
-
 #ifndef BOOTLOADER
+sound.c
 pcm_sampr.c
 pcm.c
 pcm_mixer.c
@@ -544,7 +543,7 @@ enc_base.c
 #endif /* HAVE_RECORDING */
 
 drivers/audio/audiohw-swcodec.c
-#endif /* BOOTLOADER */
+#endif /* !BOOTLOADER */
 
 /* Audio codec */
 #if !defined(BOOTLOADER)
-- 
rockbox-cvs mailing list
[email protected]
https://lists.haxx.se/mailman/listinfo/rockbox-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.