update madwifi to latest trunk (refcount and hal-0.9.30.13 got merged) and include...
[openwrt.git] / package / iptables / Makefile
index 822be99..1bd13a5 100644 (file)
@@ -24,6 +24,7 @@ include $(INCLUDE_DIR)/package.mk
 ifeq ($(DUMP),)
   -include $(LINUX_DIR)/.config
   include $(INCLUDE_DIR)/netfilter.mk
+  STAMP_CONFIGURED:=$(strip $(STAMP_CONFIGURED))_$(shell grep 'NETFILTER' $(LINUX_DIR)/.config | md5s)
 endif
 
 define Package/iptables/Default
@@ -144,7 +145,8 @@ define Package/iptables-mod-extra
        - libipt_owner \\\
        - libipt_physdev \\\
        - libipt_pkttype \\\
-       - libipt_recent
+       - libipt_recent \\\
+       - libipt_NOTRACK
 endef
 
 define Package/iptables-utils
@@ -159,9 +161,8 @@ define Package/ip6tables
   TITLE:=IPv6 firewall administration tool
 endef
 
-$(PKG_BUILD_DIR)/.configured: $(LINUX_DIR)/.config
-
 define Build/Configure
+       rm -f $(PKG_BUILD_DIR)/.configured*
        $(MAKE) -C $(PKG_BUILD_DIR) \
                clean
 endef
@@ -172,6 +173,7 @@ define Build/Compile
        $(MAKE) -C $(PKG_BUILD_DIR) \
                $(TARGET_CONFIGURE_OPTS) \
                COPT_FLAGS="$(TARGET_CFLAGS)" \
+               LDFLAGS="-rdynamic -static-libgcc" \
                KERNEL_DIR="$(LINUX_DIR)" PREFIX=/usr \
                DESTDIR="$(PKG_INSTALL_DIR)" \
                all install
This page took 0.019326 seconds and 4 git commands to generate.