aboutsummaryrefslogtreecommitdiffstats
path: root/include/package.mk
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2006-11-02 22:44:38 +0000
committerFlorian Fainelli <florian@openwrt.org>2006-11-02 22:44:38 +0000
commite0c9b034400c796a7367ca368ef37db8ae80b649 (patch)
treed492a1cdd7fd4544ce41c6a56aebc43ce39abe50 /include/package.mk
parentfca85895403cf49a3a05c6637dd60378dae011b5 (diff)
downloadupstream-e0c9b034400c796a7367ca368ef37db8ae80b649.tar.gz
upstream-e0c9b034400c796a7367ca368ef37db8ae80b649.tar.bz2
upstream-e0c9b034400c796a7367ca368ef37db8ae80b649.zip
Move out some generic code to prevent autotools from re-creating files
SVN-Revision: 5384
Diffstat (limited to 'include/package.mk')
-rw-r--r--include/package.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/package.mk b/include/package.mk
index 5636b0b6a1..8a10569d6c 100644
--- a/include/package.mk
+++ b/include/package.mk
@@ -290,6 +290,12 @@ define Build/Prepare
endef
define Build/Configure/Default
+ (cd $(PKG_BUILD_DIR) ; \
+ [ -e configure.in ] && touch configure.in ; \
+ [ -e aclocal.m4 ] && touch aclocal.m4 ; \
+ [ -e Makefile.in ] && touch Makefile.in ; \
+ [ -e configure ] && touch configure ; \
+ );
(cd $(PKG_BUILD_DIR)/$(strip $(3)); \
if [ -x configure ]; then \
$(TARGET_CONFIGURE_OPTS) \