package/xbmc: add option to enable alsa
authorBernd Kuhls <bernd.kuhls@t-online.de>
Fri, 3 Oct 2014 10:06:31 +0000 (12:06 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 3 Oct 2014 20:10:42 +0000 (22:10 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/xbmc/Config.in
package/xbmc/xbmc.mk

index 54f88550105a38e27635855f9fce6f83d2c74143..a7337d5fe0c36f875ef55e768753d17d158a14f5 100644 (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
index 87c9d722ef0197d98b742e761eb36d2b06c386b7..c3eeee96300fe811c998ae8f73166adbfbc744ab 100644 (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