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>
This commit is contained in:
parent
49424c0066
commit
0e1acc6e36
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user