alsa-lib: fix build failures for nommu
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sat, 5 Jan 2013 01:30:43 +0000 (01:30 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 5 Jan 2013 11:44:06 +0000 (12:44 +0100)
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>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/alsa-lib/Config.in

index ca063d856050a8b2e5e4d43be41291c7a48e972c..2ba688681ec75f121aa4bee02f9d56a0ac0d5822 100644 (file)
@@ -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