summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2007-09-25 12:54:48 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2007-09-25 12:54:48 +0000
commit193d987287acac51c97ef3679a90f64fcb560abe (patch)
tree14fd61fccc7a68fac1f8cd5210347129ad31ce45 /package
parent26cdd6f6c0e8c3b8efb4d01faacff8a979f40c47 (diff)
Build libusb without annoying tests, breaking the build
Diffstat (limited to 'package')
-rw-r--r--package/libusb/libusb.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/package/libusb/libusb.mk b/package/libusb/libusb.mk
index 4e06dc883..a192e2d92 100644
--- a/package/libusb/libusb.mk
+++ b/package/libusb/libusb.mk
@@ -29,6 +29,9 @@ $(LIBUSB_DIR)/.unpacked: $(DL_DIR)/$(LIBUSB_SOURCE)
ifneq ($(LIBUSB_PATCH_FILE),)
(cd $(LIBUSB_DIR) && $(LIBUSB_CAT) $(LIBUSB_PATCH) | patch -p1)
endif
+ toolchain/patch-kernel.sh $(LIBUSB_DIR) package/libusb/ libusb-$(LIBUSB_VERSION)\*.patch*
+ $(SED) 's,^all:.*,all:,g' $(LIBUSB_DIR)/tests/Makefile.in
+ $(SED) 's,^install:.*,install:,g' $(LIBUSB_DIR)/tests/Makefile.in
touch $@
$(LIBUSB_DIR)/.configured: $(LIBUSB_DIR)/.unpacked