[PATCH v5 4/4] kernel: virtio modules depend on x86_kvm_guest
[openwrt.git] / package / kernel / modules / netfilter.mk
index 3ce557a..e2361af 100644 (file)
@@ -13,7 +13,10 @@ include $(INCLUDE_DIR)/netfilter.mk
 define KernelPackage/ipt-core
   SUBMENU:=$(NF_MENU)
   TITLE:=Netfilter core
-  KCONFIG:=$(KCONFIG_IPT_CORE)
+  KCONFIG:= \
+       CONFIG_NETFILTER=y \
+       CONFIG_NETFILTER_ADVANCED=y \
+       $(KCONFIG_IPT_CORE)
   FILES:=$(foreach mod,$(IPT_CORE-m),$(LINUX_DIR)/net/$(mod).ko)
   AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_CORE-m)))
 endef
@@ -514,11 +517,12 @@ endef
 $(eval $(call KernelPackage,nf-conntrack-netlink))
 
 define KernelPackage/ipt-hashlimit
-$(call KernelPackage/ipt/Depends,)
+  SUBMENU:=$(NF_MENU)
   TITLE:=Netfilter hashlimit match
-  FILES:=$(LINUX_DIR)/net/netfilter/xt_hashlimit.ko
   KCONFIG:=$(KCONFIG_IPT_HASHLIMIT)
+  FILES:=$(LINUX_DIR)/net/netfilter/xt_hashlimit.ko
   AUTOLOAD:=$(call AutoLoad,50,xt_hashlimit)
+  $(call KernelPackage/ipt)
 endef
 
 define KernelPackage/ipt-hashlimit/description
This page took 0.02438 seconds and 4 git commands to generate.