瀏覽代碼

package/kodi: honour the libusb option even when disabled

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>
(cherry picked from commit 0e1acc6e36b087c1008981e7bccf4113bfa1751d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Bernd Kuhls 4 年之前
父節點
當前提交
519fd80585
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      package/kodi/kodi.mk

+ 2 - 0
package/kodi/kodi.mk

@@ -211,6 +211,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