aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-12-10 16:28:20 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-12-10 16:28:20 +0000
commit26cebaa3da4db494323ba175d9840d53794c6c72 (patch)
treee81f9810d73717b0ee49d0ee68e68e87353e210b /include
parent2356a4123376c49583f90906e4c7441541454ae8 (diff)
downloadupstream-26cebaa3da4db494323ba175d9840d53794c6c72.tar.gz
upstream-26cebaa3da4db494323ba175d9840d53794c6c72.tar.bz2
upstream-26cebaa3da4db494323ba175d9840d53794c6c72.zip
[include] autotools.mk: remove autom4ate.cache directory when autoreconf-ing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@24434 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r--include/autotools.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/autotools.mk b/include/autotools.mk
index b4eb7bfc4e..e4c9fedbab 100644
--- a/include/autotools.mk
+++ b/include/autotools.mk
@@ -22,6 +22,7 @@ define autoreconf
./autogen.sh || true; \
elif [ -f ./configure.ac ] || [ -f ./configure.in ]; then \
[ -f ./aclocal.m4 ] && [ ! -f ./acinclude.m4 ] && mv aclocal.m4 acinclude.m4; \
+ [ -d ./autom4te.cache ] && rm -rf autom4te.cache; \
$(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
-B $(STAGING_DIR)/host/share/aclocal \
$(patsubst %,-I %,$(PKG_LIBTOOL_PATHS)) $(PKG_LIBTOOL_PATHS) || true; \