X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=include%2Fautotools.mk;h=a1a5d5d81521f29f194dfadb7e1acec3b694af52;hp=9ba3fc33b9e901a1e8fe80ef18094c6cab0c2264;hb=c538344bb849373d7fbdc5c0e0d78d02a8d521dd;hpb=29c57e618a06f0c6a90106b6b6a795aa9e1b98f9 diff --git a/include/autotools.mk b/include/autotools.mk index 9ba3fc33b9..a1a5d5d815 100644 --- a/include/autotools.mk +++ b/include/autotools.mk @@ -20,6 +20,7 @@ define autoreconf if [ -x ./autogen.sh ]; then \ ./autogen.sh || true; \ elif [ -f ./configure.ac ] || [ -f ./configure.in ]; then \ + rm -f ./GNUmakefile; \ $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \ $(patsubst %,-I %,$(PKG_LIBTOOL_PATHS)) $(PKG_LIBTOOL_PATHS) || true; \ fi \