xbmc: hdmi cec supports needs udev for device scanning

libcec support in xbmc compiles without udev being linked to libcec,
but it is useless because xbmc uses libcec´s udev support for scanning
connected CEC devices since:
59171c7a03

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Bernd Kuhls 2014-06-07 14:31:06 +02:00 committed by Thomas Petazzoni
parent 5bfdf2aa50
commit acf15e042f
2 changed files with 4 additions and 3 deletions

View File

@ -98,13 +98,14 @@ comment "libbluray support needs a toolchain w/ dynamic library"
config BR2_PACKAGE_XBMC_LIBCEC config BR2_PACKAGE_XBMC_LIBCEC
bool "hdmi cec" bool "hdmi cec"
depends on !BR2_PREFER_STATIC_LIB # libcec depends on !BR2_PREFER_STATIC_LIB # libcec
depends on BR2_PACKAGE_HAS_UDEV
select BR2_PACKAGE_LIBCEC select BR2_PACKAGE_LIBCEC
help help
Enable CEC (Consumer Electronics Control) support. Enable CEC (Consumer Electronics Control) support.
Select this if you want XBMC to support HDMI CEC. Select this if you want XBMC to support HDMI CEC.
comment "hdmi cec support needs a toolchain w/ dynamic library" comment "hdmi cec support needs udev /dev management and a toolchain w/ dynamic library"
depends on BR2_PREFER_STATIC_LIB depends on BR2_PREFER_STATIC_LIB || !BR2_PACKAGE_HAS_UDEV
config BR2_PACKAGE_XBMC_LIBMICROHTTPD config BR2_PACKAGE_XBMC_LIBMICROHTTPD
bool "web server" bool "web server"

View File

@ -127,7 +127,7 @@ XBMC_CONF_OPT += --disable-avahi
endif endif
ifeq ($(BR2_PACKAGE_XBMC_LIBCEC),y) ifeq ($(BR2_PACKAGE_XBMC_LIBCEC),y)
XBMC_DEPENDENCIES += libcec XBMC_DEPENDENCIES += libcec udev
XBMC_CONF_OPT += --enable-libcec XBMC_CONF_OPT += --enable-libcec
else else
XBMC_CONF_OPT += --disable-libcec XBMC_CONF_OPT += --disable-libcec