summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/usbutils/usbutils.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/usbutils/usbutils.mk b/package/usbutils/usbutils.mk
index 7da8eda97..e89f02e09 100644
--- a/package/usbutils/usbutils.mk
+++ b/package/usbutils/usbutils.mk
@@ -15,6 +15,11 @@ else
USBUTILS_CONF_OPT = --disable-zlib
endif
+# Build after busybox since it's got a lightweight lsusb
+ifeq ($(BR2_PACKAGE_BUSYBOX),y)
+ USBUTILS_DEPENDENCIES += busybox
+endif
+
define USBUTILS_TARGET_CLEANUP
rm -f $(TARGET_DIR)/usr/bin/usb-devices
rm -f $(TARGET_DIR)/usr/sbin/update-usbids.sh