Move out autotools touching stuff to a macro
authorFlorian Fainelli <florian@openwrt.org>
Thu, 2 Nov 2006 23:31:38 +0000 (23:31 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Thu, 2 Nov 2006 23:31:38 +0000 (23:31 +0000)
SVN-Revision: 5390

include/package.mk

index f0c5511baf33940e76a2130308f3ad759e4727f8..bada11f13cdb88ad621a908e22b649c296ab3f0a 100644 (file)
@@ -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) \