aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2013-05-21 12:58:36 +0000
committerJo-Philipp Wich <jow@openwrt.org>2013-05-21 12:58:36 +0000
commit557bb37cc119c81fd8a9f7edd47d2c6ab062c953 (patch)
tree51c3fe8d79cac020c8fbeca4d0694a3453175315
parent2952cc9bc719562deba6c18826bb30048bd21b05 (diff)
downloadupstream-557bb37cc119c81fd8a9f7edd47d2c6ab062c953.tar.gz
upstream-557bb37cc119c81fd8a9f7edd47d2c6ab062c953.tar.bz2
upstream-557bb37cc119c81fd8a9f7edd47d2c6ab062c953.zip
firewall3: move libext*.a copying to compile phase
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36684 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/network/config/firewall3/Makefile4
1 files changed, 2 insertions, 2 deletions
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