firewall3: move libext*.a copying to compile phase

SVN-Revision: 36684
lede-17.01
Jo-Philipp Wich 2013-05-21 12:58:36 +00:00
parent 8df6cd005c
commit 9b6c31d4cc
1 changed files with 2 additions and 2 deletions

View File

@ -39,11 +39,11 @@ define Package/firewall3/conffiles
/etc/firewall.user /etc/firewall.user
endef endef
define Build/Prepare define Build/Compile
$(call Build/Prepare/Default)
$(CP) $(lastword $(wildcard $(KERNEL_BUILD_DIR)/iptables-*/extensions/libext.a)) $(PKG_BUILD_DIR)/libext.a $(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/libext4.a)) $(PKG_BUILD_DIR)/libext4.a
$(CP) $(lastword $(wildcard $(KERNEL_BUILD_DIR)/iptables-*/extensions/libext6.a)) $(PKG_BUILD_DIR)/libext6.a $(CP) $(lastword $(wildcard $(KERNEL_BUILD_DIR)/iptables-*/extensions/libext6.a)) $(PKG_BUILD_DIR)/libext6.a
$(call Build/Compile/Default)
endef endef
TARGET_CFLAGS += -ffunction-sections -fdata-sections TARGET_CFLAGS += -ffunction-sections -fdata-sections