From: Ulf Samuelsson Date: Tue, 25 Sep 2007 12:54:48 +0000 (-0000) Subject: Build libusb without annoying tests, breaking the build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=193d987287acac51c97ef3679a90f64fcb560abe;p=buildroot.git Build libusb without annoying tests, breaking the build --- diff --git a/package/libusb/libusb.mk b/package/libusb/libusb.mk index 4e06dc8839..a192e2d92c 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