[Thomas: add the comment about the dynamic library dependency.]
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
help
Enable libusb support.
+config BR2_PACKAGE_XBMC_LIBVA
+ bool "va"
+ select BR2_PACKAGE_LIBVA
+ depends on !BR2_PREFER_STATIC_LIB
+ help
+ Enable libva support.
+
+comment "libva support needs toolchain w/ dynamic library"
+ depends on BR2_PREFER_STATIC_LIB
+
config BR2_PACKAGE_XBMC_WAVPACK
bool "wavpack"
select BR2_PACKAGE_WAVPACK
endif
# xbmc needs libva & libva-glx
-ifeq ($(BR2_PACKAGE_LIBVA)$(BR2_PACKAGE_MESA3D_DRI_DRIVER),yy)
+ifeq ($(BR2_PACKAGE_XBMC_LIBVA)$(BR2_PACKAGE_MESA3D_DRI_DRIVER),yy)
XBMC_DEPENDENCIES += mesa3d libva
XBMC_CONF_OPT += --enable-vaapi
else