From: Jo-Philipp Wich Date: Mon, 11 Apr 2011 14:18:55 +0000 (+0000) Subject: autotools.mk: disable autoreconf recursion if more than one dir is given in PKG_AUTOM... X-Git-Tag: reboot~16933 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a65b43a46fe65e7051b68c6e8af4c90d2f96e293;p=openwrt%2Fstaging%2Fxback.git autotools.mk: disable autoreconf recursion if more than one dir is given in PKG_AUTOMAKE_PATHS SVN-Revision: 26589 --- 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; \