bmon: add optional alsa support

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2011-06-17 09:17:16 +02:00
parent 6533b1e362
commit 85aed3e325

View File

@ -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