From: Jo-Philipp Wich Date: Tue, 21 May 2013 12:58:36 +0000 (+0000) Subject: firewall3: move libext*.a copying to compile phase X-Git-Tag: reboot~10396 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9b6c31d4ccc939777ec54ea32daceec604c78e1a;p=openwrt%2Fstaging%2Fjogo.git firewall3: move libext*.a copying to compile phase SVN-Revision: 36684 --- diff --git a/package/network/config/firewall3/Makefile b/package/network/config/firewall3/Makefile index 1ab4eaa472..5ddc792d1d 100644 --- a/package/network/config/firewall3/Makefile +++ b/package/network/config/firewall3/Makefile @@ -39,11 +39,11 @@ define Package/firewall3/conffiles /etc/firewall.user endef -define Build/Prepare - $(call Build/Prepare/Default) +define Build/Compile $(CP) $(lastword $(wildcard $(KERNEL_BUILD_DIR)/iptables-*/extensions/libext.a)) $(PKG_BUILD_DIR)/libext.a $(CP) $(lastword $(wildcard $(KERNEL_BUILD_DIR)/iptables-*/extensions/libext4.a)) $(PKG_BUILD_DIR)/libext4.a $(CP) $(lastword $(wildcard $(KERNEL_BUILD_DIR)/iptables-*/extensions/libext6.a)) $(PKG_BUILD_DIR)/libext6.a + $(call Build/Compile/Default) endef TARGET_CFLAGS += -ffunction-sections -fdata-sections