Patchwork alsa-lib: fix build failures for nommu

login
register
mail settings
Submitter Gustavo Zacarias
Date Jan. 5, 2013, 11:30 a.m.
Message ID <1357385443-31702-1-git-send-email-gustavo@zacarias.com.ar>
Download mbox | patch
Permalink /patch/209659/
State Accepted
Commit 77c70467154c8349ea4af8cf0aa4ff6b79b3af68
Headers show

Comments

Gustavo Zacarias - Jan. 5, 2013, 11:30 a.m.
Disable the pcm_shm plugin (aserver) and alisp for nommu systems since
they use fork()
Fixes
http://autobuild.buildroot.net/results/7e59e73e516579045538e7cc0efbc22744a45d75

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/alsa-lib/Config.in |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
Peter Korsgaard - Jan. 5, 2013, 11:44 a.m.
>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

 Gustavo> Disable the pcm_shm plugin (aserver) and alisp for nommu systems since
 Gustavo> they use fork()
 Gustavo> Fixes
 Gustavo> http://autobuild.buildroot.net/results/7e59e73e516579045538e7cc0efbc22744a45d75

Committed, thanks.

Patch

diff --git a/package/alsa-lib/Config.in b/package/alsa-lib/Config.in
index ca063d8..2ba6886 100644
--- a/package/alsa-lib/Config.in
+++ b/package/alsa-lib/Config.in
@@ -37,7 +37,8 @@  config BR2_PACKAGE_ALSA_LIB_DEVDIR
 
 config BR2_PACKAGE_ALSA_LIB_PCM_PLUGINS
 	string "built PCM plugins"
-	default "all"
+	default "all" if BR2_USE_MMU
+	default "copy linear route mulaw alaw adpcm rate plug multi file null empty share meter hooks lfloat ladspa dmix dshare dsnoop asym iec958 softvol extplug ioplug mmap_emul" if !BR2_MMU
 
 config BR2_PACKAGE_ALSA_LIB_CTL_PLUGINS
 	string "built control plugins"
@@ -69,6 +70,7 @@  config BR2_PACKAGE_ALSA_LIB_SEQ
 
 config BR2_PACKAGE_ALSA_LIB_ALISP
 	bool "alisp"
+	depends on BR2_USE_MMU
 	default y
 
 config BR2_PACKAGE_ALSA_LIB_OLD_SYMBOLS