[Buildroot] [PATCH] alsa-lib: FLAT: Disable alsa lib when FLAT bianry is selected.

Thomas De Schampheleire patrickdepinguin at gmail.com
Mon Nov 11 07:48:23 UTC 2013

sonic.adi at gmail.com wrote:
>From: Sonic Zhang <sonic.zhang at analog.com>
>Alsa lib depends on the runtime library loader.
>Signed-off-by: Sonic Zhang <sonic.zhang at analog.com>
> package/alsa-lib/Config.in | 1 +
> 1 file changed, 1 insertion(+)
>diff --git a/package/alsa-lib/Config.in b/package/alsa-lib/Config.in
>index df05240..1e148cc 100644
>--- a/package/alsa-lib/Config.in
>+++ b/package/alsa-lib/Config.in
>@@ -9,6 +9,7 @@ config BR2_PACKAGE_ALSA_LIB
> 	# the usage of alsa-lib on no-thread systems is pretty
> 	# unlikely, just require thread support globally for alsa-lib.
>+	depends on !BR2_BINFMT_FLAT
> 	help
> 	  The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
> 	  functionality to the Linux operating system.

This dependency should also be added to the comment that checks for threads. It's txt should not be changed, we should only make sure that the comment is only visible when relevant (!flat).

Best regards,

More information about the buildroot mailing list