fix red in 5b5cd252d0: Don't compile ALSA driver for hosted bootloaders

rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]>
Newsgroups gmane.comp.systems.archos.rockbox.cvs
Message-ID <[email protected]>
commit 022db8214ceffac090b7ef9508977be6290b9c88
Author: Solomon Peachy <[email protected]>
Date:   Mon Feb 23 11:10:20 2026 -0500

    fix red in 5b5cd252d0:  Don't compile ALSA driver for hosted bootloaders
    
    Change-Id: Ied255fb215a2b56ac827f509e949abff5819d3a0

diff --git a/firmware/SOURCES b/firmware/SOURCES
index 16209d3f78..195b5e0caa 100644
--- a/firmware/SOURCES
+++ b/firmware/SOURCES
@@ -145,10 +145,12 @@ target/hosted/sonynwz/nwzlinux-codec.c
 #endif
 #endif
 
+#if !defined(BOOTLOADER)
 #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
 target/hosted/alsa-controls.c
 #endif
+#endif
 
 #if ((defined(HIBY_LINUX) || defined(FIIO_M3K_LINUX)) && !defined(SIMULATOR))
 drivers/lcd-memframe.c
-- 
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.