From a7f4619820b74fa41d4bb7fc367820af30407e01 Mon Sep 17 00:00:00 2001 From: florian Date: Wed, 9 Feb 2011 20:36:29 +0000 Subject: [PATCH] [package] libusb: prevent building unused stuff This patch prevents the processing of the 'doc' and 'tests' subdirectories of the libusb package. Since the result of building these directories is never included in the ipkg package, omitting them saves compilation time and avoids possible errors if building the docs fails because of some openjade error (as it happened in my case). This is my first contribution to the list, so please tell me if something's wrong or if I could do smth better next time :-) Signed-off-by: Joachim Schlipper git-svn-id: svn://svn.openwrt.org/openwrt/packages@25436 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/libusb/patches/004-no_unused.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libs/libusb/patches/004-no_unused.patch diff --git a/libs/libusb/patches/004-no_unused.patch b/libs/libusb/patches/004-no_unused.patch new file mode 100644 index 000000000..8452d5b80 --- /dev/null +++ b/libs/libusb/patches/004-no_unused.patch @@ -0,0 +1,11 @@ +--- a/Makefile.am 2006-03-04 03:52:46.000000000 +0100 ++++ b/Makefile.am 2011-02-03 12:59:22.261341559 +0100 +@@ -4,7 +4,7 @@ + # gnu strictness chokes on README being autogenerated + AUTOMAKE_OPTIONS = 1.4 foreign + +-SUBDIRS = . tests doc ++SUBDIRS = . + + AM_CFLAGS = -Werror + -- 2.11.0