summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2007-05-07 03:59:35 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2007-05-07 03:59:35 +0000
commitc4cc6e46b0e1ec8f3d3461f3f4c171e7a1b16c54 (patch)
tree62009c1d7ab3ecd72b36a72be93f7ef8ebedde03
parentb5d1d2b05b7f7c3364aeab3166268794bb2e6d7b (diff)
downloadbuildroot-novena-c4cc6e46b0e1ec8f3d3461f3f4c171e7a1b16c54.tar.gz
buildroot-novena-c4cc6e46b0e1ec8f3d3461f3f4c171e7a1b16c54.zip
Target binary was incorrect and do a better job of cleaning up.
-rw-r--r--package/usbutils/usbutils.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/usbutils/usbutils.mk b/package/usbutils/usbutils.mk
index cafcb3a21..391008e72 100644
--- a/package/usbutils/usbutils.mk
+++ b/package/usbutils/usbutils.mk
@@ -9,7 +9,7 @@ USBUTILS_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/l
USBUTILS_DIR:=$(BUILD_DIR)/usbutils-$(USBUTILS_VER)
USBUTILS_CAT:=$(ZCAT)
USBUTILS_BINARY:=lsusb
-USBUTILS_TARGET_BINARY:=usr/bin/lsusb
+USBUTILS_TARGET_BINARY:=usr/sbin/lsusb
$(DL_DIR)/$(USBUTILS_SOURCE):
$(WGET) -P $(DL_DIR) $(USBUTILS_SITE)/$(USBUTILS_SOURCE)
@@ -46,6 +46,8 @@ usbutils: uclibc libusb $(TARGET_DIR)/$(USBUTILS_TARGET_BINARY)
usbutils-clean:
rm -f $(TARGET_DIR)/$(USBUTILS_TARGET_BINARY)
+ rm -f $(TARGET_DIR)/usr/share/usb.ids
+ rmdir --ignore-fail-on-non-empty $(TARGET_DIR)/usr/share
-$(MAKE) -C $(USBUTILS_DIR) clean
usbutils-dirclean: