summaryrefslogtreecommitdiffstats
path: root/package/xbmc
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2014-07-23 06:40:20 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-07-23 22:07:42 +0200
commit42f38063a80139ff033bed37d5f22f3e071f099b (patch)
tree180b0b4a1993cae10ec0840327673dd9685ba7b7 /package/xbmc
parentbc4186261da6e4eb53692fe7ac66c6b90776c7ab (diff)
downloadbuildroot-42f38063a80139ff033bed37d5f22f3e071f099b.tar.gz
buildroot-42f38063a80139ff033bed37d5f22f3e071f099b.zip
xbmc: Add alsa support
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/xbmc')
-rw-r--r--package/xbmc/xbmc.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/xbmc/xbmc.mk b/package/xbmc/xbmc.mk
index 2a38114200..32507fb1ba 100644
--- a/package/xbmc/xbmc.mk
+++ b/package/xbmc/xbmc.mk
@@ -39,7 +39,6 @@ XBMC_CONF_ENV = \
XBMC_CONF_OPT += \
--with-arch=$(BR2_ARCH) \
- --disable-alsa \
--disable-crystalhd \
--disable-debug \
--disable-dvdcss \
@@ -73,6 +72,13 @@ ifeq ($(BR2_PACKAGE_DBUS),y)
XBMC_DEPENDENCIES += dbus
endif
+ifeq ($(BR2_PACKAGE_ALSA_LIB),y)
+XBMC_DEPENDENCIES += alsa-lib
+XBMC_CONF_OPT += --enable-alsa
+else
+XBMC_CONF_OPT += --disable-alsa
+endif
+
ifeq ($(BR2_PACKAGE_XBMC_LIBUSB),y)
XBMC_DEPENDENCIES += libusb-compat
XBMC_CONF_OPT += --enable-libusb
OpenPOWER on IntegriCloud