diff options
author | Florian Fainelli <florian@openwrt.org> | 2006-11-02 23:31:38 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2006-11-02 23:31:38 +0000 |
commit | 130bb38a407c6ffe49f9d430e6a05a08d6251564 (patch) | |
tree | 88c0be77320a6fd9641616c82868b1e66e411c53 /include | |
parent | 527e0eac16257199b2f3af0b498c991784c6d147 (diff) | |
download | upstream-130bb38a407c6ffe49f9d430e6a05a08d6251564.tar.gz upstream-130bb38a407c6ffe49f9d430e6a05a08d6251564.tar.bz2 upstream-130bb38a407c6ffe49f9d430e6a05a08d6251564.zip |
Move out autotools touching stuff to a macro
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5390 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include')
-rw-r--r-- | include/package.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/package.mk b/include/package.mk index f0c5511baf..bada11f13c 100644 --- a/include/package.mk +++ b/include/package.mk @@ -289,7 +289,7 @@ define Build/Prepare $(call Build/Prepare/Default,) endef -define Build/Configure/Default +define Build/Configure/Touch (cd $(PKG_BUILD_DIR) ; \ touch configure.in ; \ touch aclocal.m4 ; \ @@ -299,7 +299,11 @@ define Build/Configure/Default touch config.h.in ; \ touch configure.ac ; \ touch stamp-h.in ; \ - ); + ); +endef + +define Build/Configure/Default + $(call Build/Configure/Touch) (cd $(PKG_BUILD_DIR)/$(strip $(3)); \ if [ -x configure ]; then \ $(TARGET_CONFIGURE_OPTS) \ |