Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
[Thomas: add missing dependency on BR2_TOOLCHAIN_HAS_SYNC_4 from
bluez5_utils.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Enable Avahi support.
Select this if you want Kodi to support Bonjour protocol.
+config BR2_PACKAGE_KODI_BLUEZ
+ bool "bluetooth"
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # bluez5_utils
+ depends on !BR2_PACKAGE_BLUEZ_UTILS # bluez5_utils
+ depends on BR2_TOOLCHAIN_HAS_SYNC_4 # bluez5_utils
+ select BR2_PACKAGE_BLUEZ5_UTILS
+ help
+ Enable bluetooth support
+
config BR2_PACKAGE_KODI_DBUS
bool "dbus"
select BR2_PACKAGE_DBUS
KODI_CONF_OPTS += -DENABLE_CAP=OFF
endif
+ifeq ($(BR2_PACKAGE_KODI_BLUEZ),y)
+KODI_CONF_OPTS += -DENABLE_BLUETOOTH=ON
+KODI_DEPENDENCIES += bluez5_utils
+else
+KODI_CONF_OPTS += -DENABLE_BLUETOOTH=OFF
+endif
+
ifeq ($(BR2_PACKAGE_KODI_DBUS),y)
KODI_DEPENDENCIES += dbus
KODI_CONF_OPTS += -DENABLE_DBUS=ON