summaryrefslogtreecommitdiff
path: root/package/bmon
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-06-17 09:17:16 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-06-17 10:59:33 +0200
commit85aed3e325e953025426fdde0447359ab7a4c8a6 (patch)
treeb077575ca6e89dd05a0c3a6a6c3125c2e8bd4f7d /package/bmon
parent6533b1e362e3514c29e32f1c5bb46df693423fc2 (diff)
bmon: add optional alsa support
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/bmon')
-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 aa097fbe0..ef2dcf048 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