X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f4ea439183d9139c8a6098290ea878fac8a166d1..d39338f33f9d7e0e2fb79eff9bca4ff19761a1dd:/include/autotools.mk?ds=inline diff --git a/include/autotools.mk b/include/autotools.mk index 7797031fd..7fe376cc1 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; \