package/kodi: honour the libusb option even when disabled
authorBernd Kuhls <bernd.kuhls@t-online.de>
Mon, 22 Mar 2021 19:10:34 +0000 (20:10 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 28 Mar 2021 08:18:32 +0000 (10:18 +0200)
Make sure libusb support is properly disabled even if the libusb
package is enabled, and in case it gets built before Kodi.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/kodi/kodi.mk

index bf5822eb618cace62086893b19a32b8629e58ee3..6edb0b7fcadcd953d9f313c4ab5fae1656befe81 100644 (file)
@@ -206,6 +206,8 @@ KODI_CONF_OPTS += -DENABLE_UDEV=OFF
 ifeq ($(BR2_PACKAGE_KODI_LIBUSB),y)
 KODI_CONF_OPTS += -DENABLE_LIBUSB=ON
 KODI_DEPENDENCIES += libusb-compat
+else
+KODI_CONF_OPTS += -DENABLE_LIBUSB=OFF
 endif
 endif