summaryrefslogtreecommitdiffstats
path: root/package/usbutils
diff options
context:
space:
mode:
Diffstat (limited to 'package/usbutils')
-rw-r--r--package/usbutils/Config.in1
-rw-r--r--package/usbutils/usbutils.mk7
2 files changed, 6 insertions, 2 deletions
diff --git a/package/usbutils/Config.in b/package/usbutils/Config.in
index 6e5435277..427325231 100644
--- a/package/usbutils/Config.in
+++ b/package/usbutils/Config.in
@@ -1,5 +1,6 @@
config BR2_PACKAGE_USBUTILS
bool "usbutils"
+ select BR2_PACKAGE_LIBUSB
select BR2_PACKAGE_LIBUSB_COMPAT
help
USB enumeration utilities
diff --git a/package/usbutils/usbutils.mk b/package/usbutils/usbutils.mk
index 880a2c843..f0952976e 100644
--- a/package/usbutils/usbutils.mk
+++ b/package/usbutils/usbutils.mk
@@ -4,8 +4,8 @@
#
#############################################################
-USBUTILS_VERSION = 0.86
-USBUTILS_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/linux-usb/
+USBUTILS_VERSION = 0.87
+USBUTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/usb/usbutils
USBUTILS_DEPENDENCIES = host-pkg-config libusb-compat
ifeq ($(BR2_PACKAGE_USBUTILS_ZLIB),y)
@@ -25,4 +25,7 @@ ifeq ($(BR2_PACKAGE_USBUTILS_ZLIB),y)
else
rm -f $(TARGET_DIR)/usr/share/usb.ids.gz
endif
+ifneq ($(BR2_HAVE_DEVFILES),y)
+ rm -f $(TARGET_DIR)/usr/bin/libusb-config
+endif
touch $@