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 | 7af8ef7b0e533542decf761d2d4943064b7ffb2c (patch) | |
tree | d4ee3703c58fca9c5e98c0d7da8726adf3d59fc4 | |
parent | c61c489ae008a06878e7264c1ccd5ac1983f88a6 (diff) | |
download | mtk-20170518-7af8ef7b0e533542decf761d2d4943064b7ffb2c.zip mtk-20170518-7af8ef7b0e533542decf761d2d4943064b7ffb2c.tar.gz mtk-20170518-7af8ef7b0e533542decf761d2d4943064b7ffb2c.tar.bz2 |
Move out autotools touching stuff to a macro
SVN-Revision: 5390
-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 f0c5511..bada11f 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) \ |