Move out autotools touching stuff to a macro
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 2 Nov 2006 23:31:38 +0000 (23:31 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 2 Nov 2006 23:31:38 +0000 (23:31 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@5390 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/package.mk

index f0c5511..bada11f 100644 (file)
@@ -289,7 +289,7 @@ define Build/Prepare
   $(call Build/Prepare/Default,)
 endef
 
   $(call Build/Prepare/Default,)
 endef
 
-define Build/Configure/Default
+define Build/Configure/Touch
        (cd $(PKG_BUILD_DIR) ; \
                touch configure.in ; \
                touch aclocal.m4 ; \
        (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 ; \
                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) \
        (cd $(PKG_BUILD_DIR)/$(strip $(3)); \
        if [ -x configure ]; then \
                $(TARGET_CONFIGURE_OPTS) \
This page took 0.027046 seconds and 4 git commands to generate.