aboutsummaryrefslogtreecommitdiffstats
path: root/include
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
commita5dc6ed31bfc11788360e83d403746aed9fe29fc (patch)
treec9287c1bc28bcb8d25b7ef69634b74736615a45c /include
parentb11e576224e3ae594a89977fb8cded87a4b20a12 (diff)
downloadmaster-187ad058-a5dc6ed31bfc11788360e83d403746aed9fe29fc.tar.gz
master-187ad058-a5dc6ed31bfc11788360e83d403746aed9fe29fc.tar.bz2
master-187ad058-a5dc6ed31bfc11788360e83d403746aed9fe29fc.zip
Move out some generic code to prevent autotools from re-creating files
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5384 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-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) \