summaryrefslogtreecommitdiff
path: root/include/autotools.mk
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
commita65b43a46fe65e7051b68c6e8af4c90d2f96e293 (patch)
tree9d937011fa81d8bdfdae3e623319460b178b4c80 /include/autotools.mk
parent22285a76e5a34fbd3d49a8ffc65602ca3bf9f7ec (diff)
downloadmtk-20170518-a65b43a46fe65e7051b68c6e8af4c90d2f96e293.zip
mtk-20170518-a65b43a46fe65e7051b68c6e8af4c90d2f96e293.tar.gz
mtk-20170518-a65b43a46fe65e7051b68c6e8af4c90d2f96e293.tar.bz2
autotools.mk: disable autoreconf recursion if more than one dir is given in PKG_AUTOMAKE_PATHS
SVN-Revision: 26589
Diffstat (limited to 'include/autotools.mk')
-rw-r--r--include/autotools.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/autotools.mk b/include/autotools.mk
index 7797031..7fe376c 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; \