X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=include%2Fautotools.mk;h=7fe376cc156b7e5401192288ab1be614e009f078;hp=24f9b721ddf1ad401d8135cb8e5e7c395b320cf3;hb=8e7ccca7b99fa28daca523b4b36a37785471047c;hpb=1fed06526658a11658b75feefec517cfe33b6866 diff --git a/include/autotools.mk b/include/autotools.mk index 24f9b721d..7fe376cc1 100644 --- a/include/autotools.mk +++ b/include/autotools.mk @@ -38,9 +38,12 @@ 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; \ + [ -e $(p)/config.rpath ] || \ + ln -s $(SCRIPT_DIR)/config.rpath $(p)/config.rpath; fi; \ ) \ );