aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-04-11 14:18:55 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-04-11 14:18:55 +0000
commit88d8a57b983eea5e488f3b785eb27406fe3a19c7 (patch)
tree887a3bfff0021000956a874ebacae02a8618de51 /include
parent58a05a1b960bc47b87c79a22720208e5b11b15dd (diff)
downloadupstream-88d8a57b983eea5e488f3b785eb27406fe3a19c7.tar.gz
upstream-88d8a57b983eea5e488f3b785eb27406fe3a19c7.tar.bz2
upstream-88d8a57b983eea5e488f3b785eb27406fe3a19c7.zip
[include] autotools.mk: disable autoreconf recursion if more than one dir is given in PKG_AUTOMAKE_PATHS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26589 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/autotools.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/autotools.mk b/include/autotools.mk
index 7797031fd6..7fe376cc15 100644
--- a/include/autotools.mk
+++ b/include/autotools.mk
@@ -38,6 +38,7 @@ define autoreconf
[ -d $(p)/autom4te.cache ] && rm -rf autom4te.cache; \
touch NEWS AUTHORS COPYING ChangeLog; \
$(AM_TOOL_PATHS) $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
+ $(if $(word 2,$(3)),--no-recursive) \
-B $(STAGING_DIR_HOST)/share/aclocal \
$(patsubst %,-I %,$(5)) \
$(patsubst %,-I %,$(4)) $(4) || true; \