aboutsummaryrefslogtreecommitdiff
path: root/package/multimedia/alsa-utils
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-09-18 07:21:37 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2012-09-20 21:50:21 +0200
commitbeb45605dba13fbe54e26a26e78fc6d51651d3eb (patch)
treeed17cf5e81b5d22db3b5b49246d71006bf5dfdce /package/multimedia/alsa-utils
parente04b4dc7b67fd27860bcd7049816921d8b865e7a (diff)
downloadbuildroot-beb45605dba13fbe54e26a26e78fc6d51651d3eb.tar.gz
buildroot-beb45605dba13fbe54e26a26e78fc6d51651d3eb.tar.bz2
alsa-lib: require thread support
Some parts of alsa-lib correctly use threads only when available, but some other parts, especially certain PCM plugins, unconditionally require threads. While it would certainly be possible to fix alsa-lib to only use threads when available, it probably doesn't make much sense, since on an embedded system that has audio, we are probably powerful enough to enable thread support in the C library. Fixes: http://autobuild.buildroot.org/results/e14469be7f6171f4c8c0c09c8e32943819f7938b/build-end.log Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/multimedia/alsa-utils')
-rw-r--r--package/multimedia/alsa-utils/Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/package/multimedia/alsa-utils/Config.in b/package/multimedia/alsa-utils/Config.in
index c65e33f83d..4bc12049e8 100644
--- a/package/multimedia/alsa-utils/Config.in
+++ b/package/multimedia/alsa-utils/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_ALSA_UTILS
bool "alsa-utils"
depends on BR2_LARGEFILE
+ depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
select BR2_PACKAGE_ALSA_LIB
help
This package contains the command line utilities for the ALSA
@@ -8,8 +9,8 @@ config BR2_PACKAGE_ALSA_UTILS
http://www.alsa-project.org/
-comment "alsa-utils requires a toolchain with LARGEFILE support"
- depends on !BR2_LARGEFILE
+comment "alsa-utils requires a toolchain with LARGEFILE and threads support"
+ depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
if BR2_PACKAGE_ALSA_UTILS
menu "ALSA utils selection"