summaryrefslogtreecommitdiff
path: root/package/kernel
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2008-08-21 13:17:47 +0000
committerNicolas Thill <nico@openwrt.org>2008-08-21 13:17:47 +0000
commitf04069c30bee7d807fd1373e63fc36d5199ae2ef (patch)
tree22ab9d952116fc00d0d8513c972be798bd3ba04c /package/kernel
parent89124c8a0ab1baeb926108bb8dd503c24a25b75d (diff)
downloadmtk-20170518-f04069c30bee7d807fd1373e63fc36d5199ae2ef.zip
mtk-20170518-f04069c30bee7d807fd1373e63fc36d5199ae2ef.tar.gz
mtk-20170518-f04069c30bee7d807fd1373e63fc36d5199ae2ef.tar.bz2
fix kmod-ipt-imq module generation (closes: #3896)
SVN-Revision: 12361
Diffstat (limited to 'package/kernel')
-rw-r--r--package/kernel/modules/netfilter.mk15
1 files changed, 12 insertions, 3 deletions
diff --git a/package/kernel/modules/netfilter.mk b/package/kernel/modules/netfilter.mk
index 31c6287..345153a 100644
--- a/package/kernel/modules/netfilter.mk
+++ b/package/kernel/modules/netfilter.mk
@@ -156,9 +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
- 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