From 3f4d5a527b7a739eb46fa5bc2a91d37eec38eb48 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sat, 28 Mar 2026 12:43:59 -0400 Subject: [PATCH] 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 --- firmware/SOURCES | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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)