[include] autotools.mk: disable autoreconf recursion if more than one dir is given...
[openwrt.git] / include / autotools.mk
index 7797031..7fe376c 100644 (file)
@@ -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; \
This page took 0.022169 seconds and 4 git commands to generate.