summaryrefslogtreecommitdiff
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
parentfca85895403cf49a3a05c6637dd60378dae011b5 (diff)
downloadmtk-20170518-e0c9b034400c796a7367ca368ef37db8ae80b649.zip
mtk-20170518-e0c9b034400c796a7367ca368ef37db8ae80b649.tar.gz
mtk-20170518-e0c9b034400c796a7367ca368ef37db8ae80b649.tar.bz2
Move out some generic code to prevent autotools from re-creating files
SVN-Revision: 5384
-rw-r--r--include/package.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/package.mk b/include/package.mk
index 5636b0b..8a10569 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) \