1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 03:13:20 +02:00

fix kmod-ipt-imq module generation (closes: #3896)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12361 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2008-08-21 13:17:47 +00:00
parent d854dd1d59
commit cdd2f654f3

View File

@ -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