X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/4a75cb19337d285a49cbf6078adf92dd576b374d..aed12f5d8b434b7681c831627b16889d165e0961:/package/kernel/modules/netfilter.mk diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk index af68d079c..345153a25 100644 --- a/package/kernel/modules/netfilter.mk +++ b/package/kernel/modules/netfilter.mk @@ -112,8 +112,8 @@ define KernelPackage/ipt-nathelper SUBMENU:=$(NF_MENU) TITLE:=Default Conntrack and NAT helpers KCONFIG:=$(KCONFIG_IPT_NATHELPER) - FILES:=$(foreach mod,$(IPT_NAT_NATHELPER-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX)) - AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_NAT_NATHELPER-m))) + FILES:=$(foreach mod,$(IPT_NATHELPER-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX)) + AUTOLOAD:=$(call AutoLoad,40,$(notdir $(IPT_NATHELPER-m))) endef define KernelPackage/ipt-nathelper/description @@ -156,10 +156,18 @@ $(eval $(call KernelPackage,ipt-nathelper-extra)) define KernelPackage/ipt-imq SUBMENU:=$(NF_MENU) TITLE:=Intermediate Queueing support - KCONFIG:=CONFIG_IP_NF_TARGET_IMQ - DEPENDS:=@!LINUX_2_6_25 - FILES:=$(LINUX_DIR)/net/ipv4/netfilter/*IMQ*.$(LINUX_KMOD_SUFFIX) $(LINUX_DIR)/drivers/net/imq.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,40,$(notdir $(patsubst %.ko,%,$(wildcard $(LINUX_DIR)/net/ipv4/netfilter/*IMQ*.$(LINUX_KMOD_SUFFIX) $(LINUX_DIR)/drivers/net/imq.$(LINUX_KMOD_SUFFIX))))) + KCONFIG:= \ + CONFIG_IMQ \ + CONFIG_IMQ_BEHAVIOR_BA=y \ + CONFIG_IMQ_NUM_DEVS=2 \ + CONFIG_IP_NF_TARGET_IMQ + FILES:= \ + $(LINUX_DIR)/drivers/net/imq.$(LINUX_KMOD_SUFFIX) \ + $(foreach mod,$(IPT_IMQ-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX)) + AUTOLOAD:=$(call AutoLoad,40,$(notdir \ + $(LINUX_DIR)/drivers/net/imq.$(LINUX_KMOD_SUFFIX) \ + $(IPT_IMQ-m) \ + )) endef define KernelPackage/ipt-imq/description @@ -302,13 +310,13 @@ endef $(eval $(call KernelPackage,arptables)) - define KernelPackage/ebtables SUBMENU:=$(NF_MENU) TITLE:=Bridge firewalling modules DEPENDS:=@LINUX_2_6 FILES:=$(LINUX_DIR)/net/bridge/netfilter/*.$(LINUX_KMOD_SUFFIX) - KCONFIG:=CONFIG_BRIDGE_NF_EBTABLES + KCONFIG:=CONFIG_BRIDGE_NETFILTER=y \ + CONFIG_BRIDGE_NF_EBTABLES AUTOLOAD:=$(call AutoLoad,40,$(notdir $(patsubst %.ko,%,ebtables.ko $(wildcard $(LINUX_DIR)/net/bridge/netfilter/ebtable_*.$(LINUX_KMOD_SUFFIX)) $(wildcard $(LINUX_DIR)/net/bridge/netfilter/ebt_*.$(LINUX_KMOD_SUFFIX))))) endef