Skip to contentSkip to conversation

alsa-lib: fix build failures for nommu

PATCH New Gustavo Zacarias 2 participants 2 messages Jan 5, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 alsa-lib: fix build failures for nommu

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

---
 package/alsa-lib/Config.in |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
package/alsa-lib/Config.in +3 -1
index ca063d8..2ba6886 100644
@@ -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
Signature · 1 line
1.7.8.6