X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a58eaf210a223672f67c03d2070fa2fefdb2595b..2b0f31d36202b05a041644dc88951e19c530cddd:/package/iptables/Makefile diff --git a/package/iptables/Makefile b/package/iptables/Makefile index ff55ce590..b6be986a4 100644 --- a/package/iptables/Makefile +++ b/package/iptables/Makefile @@ -15,6 +15,7 @@ ifeq ($(CONFIG_LINUX_2_4),y) PKG_VERSION:=1.3.8 PKG_RELEASE:=3 PKG_MD5SUM:=0a9209f928002e5eee9cdff8fef4d4b3 + MAKE_TARGETS:=experimental install-experimental endif ifeq ($(CONFIG_LINUX_2_6),y) @@ -57,11 +58,6 @@ $(call Package/iptables/Default) MENU:=1 endef -define Package/iptables/conffiles -/etc/firewall.config -/etc/firewall.user -endef - define Package/iptables-mod-conntrack $(call Package/iptables/Module, +kmod-ipt-conntrack) TITLE:=connection tracking modules @@ -221,6 +217,8 @@ define Build/Configure clean endef +TARGET_CFLAGS += $(FPIC) + define Build/Compile mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \ @@ -230,7 +228,7 @@ define Build/Compile KERNEL_DIR="$(LINUX_DIR)" PREFIX=/usr \ KBUILD_OUTPUT="$(LINUX_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \ - all experimental install install-experimental + all install $(MAKE_TARGETS) endef define Build/InstallDev @@ -246,13 +244,6 @@ define Build/InstallDev endef define Package/iptables/install - $(INSTALL_DIR) $(1)/etc/config - $(INSTALL_DATA) ./files/firewall.config $(1)/etc/ - $(INSTALL_DIR) $(1)/etc/init.d - $(INSTALL_BIN) ./files/firewall.init $(1)/etc/init.d/firewall - $(INSTALL_BIN) ./files/firewall.user $(1)/etc/ - $(INSTALL_DIR) $(1)/usr/lib - $(INSTALL_DATA) ./files/firewall.awk $(1)/usr/lib $(INSTALL_DIR) $(1)/usr/sbin $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/iptables $(1)/usr/sbin/ $(INSTALL_DIR) $(1)/usr/lib/iptables