[Buildroot] [git commit] package/kodi: honour the libusb option even when disabled

Yann E. MORIN yann.morin.1998 at free.fr
Sun Mar 28 08:18:32 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=0e1acc6e36b087c1008981e7bccf4113bfa1751d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at t-online.de>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
---
 package/kodi/kodi.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index bf5822eb61..6edb0b7fca 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -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
 


More information about the buildroot mailing list