From: Gustavo Zacarias Date: Sat, 15 Oct 2011 03:07:25 +0000 (-0300) Subject: usbutils: build after busybox if enabled X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2500d3001872c591cc3f92be7c6946e27f22ae08;p=buildroot.git 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 Signed-off-by: Peter Korsgaard --- diff --git a/package/usbutils/usbutils.mk b/package/usbutils/usbutils.mk index 7da8eda972..e89f02e099 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