move exec permissions fix at Build/Prepare stage
authorNicolas Thill <nico@openwrt.org>
Sun, 16 Sep 2007 16:25:53 +0000 (16:25 +0000)
committerNicolas Thill <nico@openwrt.org>
Sun, 16 Sep 2007 16:25:53 +0000 (16:25 +0000)
SVN-Revision: 8802

package/iptables/Makefile

index bd0ecda..94c81ba 100644 (file)
@@ -195,6 +195,11 @@ define Package/ip6tables-utils
  TITLE:=ip6tables save and restore utilities
 endef
 
+define Build/Prepare
+       $(call Build/Prepare/Default)
+       chmod a+x $(PKG_BUILD_DIR)/extensions/.*-test*
+endef
+
 define Build/Configure
        rm -f $(PKG_BUILD_DIR)/.configured*
        $(MAKE) -C $(PKG_BUILD_DIR) \
@@ -202,7 +207,6 @@ define Build/Configure
 endef
 
 define Build/Compile
-       chmod a+x $(PKG_BUILD_DIR)/extensions/.*-test*
        mkdir -p $(PKG_INSTALL_DIR)
        $(MAKE) -C $(PKG_BUILD_DIR) \
                $(TARGET_CONFIGURE_OPTS) \