Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/libusb

Buildroot ulf at uclibc.org 1 participant 1 message Sep 25, 2007

lore
Share & tools
lore
#0 lore raw

Author: ulf
Date: 2007-09-25 05:54:48 -0700 (Tue, 25 Sep 2007) New Revision: 20017

Log:
Build libusb without annoying tests, breaking the build

Modified:
trunk/buildroot/package/libusb/libusb.mk

Changeset:
Modified: trunk/buildroot/package/libusb/libusb.mk
===================================================================

buildroot/package/libusb/libusb.mk +3 -0
@@ -29,6 +29,9 @@
 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