summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-06-17 07:17:16 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-06-17 08:59:33 (GMT)
commit85aed3e325e953025426fdde0447359ab7a4c8a6 (patch)
treeb077575ca6e89dd05a0c3a6a6c3125c2e8bd4f7d
parent6533b1e362e3514c29e32f1c5bb46df693423fc2 (diff)
downloadbuildroot-85aed3e325e953025426fdde0447359ab7a4c8a6.tar.gz
buildroot-85aed3e325e953025426fdde0447359ab7a4c8a6.tar.bz2
bmon: add optional alsa support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/bmon/bmon.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/bmon/bmon.mk b/package/bmon/bmon.mk
index aa097fb..ef2dcf0 100644
--- a/package/bmon/bmon.mk
+++ b/package/bmon/bmon.mk
@@ -14,6 +14,12 @@ else
BMON_CONF_OPT += --disable-curses
endif
+ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
+BMON_DEPENDENCIES += alsa-lib
+else
+BMON_CONF_OPT += --disable-asound
+endif
+
ifneq ($(BR2_PREFER_STATIC_LIB),y)
# link dynamically unless explicitly requested otherwise
BMON_CONF_OPT += --disable-static