From ef532fd9bcda28a424dbbc8edfb18bd80020fa95 Mon Sep 17 00:00:00 2001 From: Florian Fainelli 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 SVN-Revision: 25436 --- 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 0000000000..8452d5b800 --- /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.30.2