summaryrefslogtreecommitdiffstats
path: root/package/usbutils
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2011-10-15 00:07:25 -0300
committerPeter Korsgaard <jacmet@sunsite.dk>2011-10-15 23:06:51 +0200
commit2500d3001872c591cc3f92be7c6946e27f22ae08 (patch)
treef237d6709b2d06aa7f02e24dc670fcafed873195 /package/usbutils
parentfadf98522870fee6d91fd0e0e622600f3fdf28c4 (diff)
downloadbuildroot-novena-2500d3001872c591cc3f92be7c6946e27f22ae08.tar.gz
buildroot-novena-2500d3001872c591cc3f92be7c6946e27f22ae08.zip
usbutils: build after busybox if enabled
Build after busybox if it's enabled since full-blown lsusb is better than busybox lsusb. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/usbutils')
-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