package/xbmc: add option to enable alsa

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Bernd Kuhls 2014-10-03 12:06:31 +02:00 committed by Thomas Petazzoni
parent f018f897a1
commit 20dd35779c
2 changed files with 7 additions and 1 deletions

View File

@ -103,6 +103,12 @@ menuconfig BR2_PACKAGE_XBMC
if BR2_PACKAGE_XBMC
config BR2_PACKAGE_XBMC_ALSA_LIB
bool "alsa"
select BR2_PACKAGE_ALSA_LIB
help
Enable alsa support.
config BR2_PACKAGE_XBMC_AVAHI
bool "avahi"
depends on !BR2_PREFER_STATIC_LIB # avahi

View File

@ -71,7 +71,7 @@ else
XBMC_CONF_OPT += --disable-dbus
endif
ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
ifeq ($(BR2_PACKAGE_XBMC_ALSA_LIB),y)
XBMC_DEPENDENCIES += alsa-lib
XBMC_CONF_OPT += --enable-alsa
else