1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 17:55:55 +02:00

[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
This commit is contained in:
jow 2011-04-11 14:18:55 +00:00
parent c9b08ba104
commit 4bfeacbc85

View File

@ -38,6 +38,7 @@ define autoreconf
[ -d $(p)/autom4te.cache ] && rm -rf autom4te.cache; \ [ -d $(p)/autom4te.cache ] && rm -rf autom4te.cache; \
touch NEWS AUTHORS COPYING ChangeLog; \ touch NEWS AUTHORS COPYING ChangeLog; \
$(AM_TOOL_PATHS) $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \ $(AM_TOOL_PATHS) $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
$(if $(word 2,$(3)),--no-recursive) \
-B $(STAGING_DIR_HOST)/share/aclocal \ -B $(STAGING_DIR_HOST)/share/aclocal \
$(patsubst %,-I %,$(5)) \ $(patsubst %,-I %,$(5)) \
$(patsubst %,-I %,$(4)) $(4) || true; \ $(patsubst %,-I %,$(4)) $(4) || true; \