From: Bernd Kuhls Date: Mon, 22 Mar 2021 19:10:34 +0000 (+0100) Subject: package/kodi: honour the libusb option even when disabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0e1acc6e36b087c1008981e7bccf4113bfa1751d;p=buildroot.git 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 Signed-off-by: Yann E. MORIN --- 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