package/kodi: if libudev is available, we don't need libusb
authorBernd Kuhls <bernd.kuhls@t-online.de>
Mon, 11 Jul 2016 18:09:00 +0000 (20:09 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 17 Jul 2016 12:29:37 +0000 (14:29 +0200)
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/kodi/Config.in

index a4cbab2da7aa0e4fc1d3eed36c2ee61e3c100537..9a5baa8b3774652e3b98b70405ba97285e278bcc 100644 (file)
@@ -222,6 +222,9 @@ config BR2_PACKAGE_KODI_LIBTHEORA
 
 config BR2_PACKAGE_KODI_LIBUSB
        bool "usb"
+       # https://github.com/xbmc/xbmc/blob/Jarvis/configure.ac#L1554
+       # "if libudev is available, we don't need libusb"
+       depends on !BR2_PACKAGE_HAS_UDEV
        select BR2_PACKAGE_LIBUSB
        select BR2_PACKAGE_LIBUSB_COMPAT
        help