[kernel] add textsearch, NF_CONNTRACK_AMANDA and NETFILTER_XT_MATCH_STRING need it.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14778 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Hauke Mehrtens 2009-03-07 16:53:08 +00:00
parent 8907a19358
commit 5b60e9ff90
2 changed files with 22 additions and 2 deletions

View File

@ -79,7 +79,7 @@ define KernelPackage/ipt-filter
KCONFIG:=$(KCONFIG_IPT_FILTER) KCONFIG:=$(KCONFIG_IPT_FILTER)
FILES:=$(foreach mod,$(IPT_FILTER-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX)) FILES:=$(foreach mod,$(IPT_FILTER-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_FILTER-m))) AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_FILTER-m)))
DEPENDS:= kmod-ipt-core DEPENDS:= kmod-ipt-core +kmod-textsearch
endef endef
define KernelPackage/ipt-filter/description define KernelPackage/ipt-filter/description
@ -203,7 +203,7 @@ define KernelPackage/ipt-nathelper-extra
KCONFIG:=$(KCONFIG_IPT_NATHELPER_EXTRA) KCONFIG:=$(KCONFIG_IPT_NATHELPER_EXTRA)
FILES:=$(foreach mod,$(IPT_NATHELPER_EXTRA-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX)) FILES:=$(foreach mod,$(IPT_NATHELPER_EXTRA-m),$(LINUX_DIR)/net/$(mod).$(LINUX_KMOD_SUFFIX))
AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_NATHELPER_EXTRA-m))) AUTOLOAD:=$(call AutoLoad,45,$(notdir $(IPT_NATHELPER_EXTRA-m)))
DEPENDS:= kmod-ipt-core +kmod-ipt-nat DEPENDS:= kmod-ipt-core +kmod-ipt-nat +kmod-textsearch
endef endef
define KernelPackage/ipt-nathelper-extra/description define KernelPackage/ipt-nathelper-extra/description

View File

@ -766,3 +766,23 @@ define KernelPackage/cs5535-gpio/description
endef endef
$(eval $(call KernelPackage,cs5535-gpio)) $(eval $(call KernelPackage,cs5535-gpio))
define KernelPackage/textsearch
SUBMENU:=$(OTHER_MENU)
TITLE:=Textsearch support is selected if needed
DEPENDS:=@LINUX_2_6 @!LINUX_2_6_21
KCONFIG:= \
CONFIG_TEXTSEARCH=y \
CONFIG_TEXTSEARCH_KMP \
CONFIG_TEXTSEARCH_BM \
CONFIG_TEXTSEARCH_FSM
FILES:= \
$(LINUX_DIR)/lib/ts_kmp.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/lib/ts_bm.$(LINUX_KMOD_SUFFIX) \
$(LINUX_DIR)/lib/ts_fsm.$(LINUX_KMOD_SUFFIX)
AUTOLOAD:=$(call AutoLoad,20,ts_kmp ts_bm ts_fsm)
endef
$(eval $(call KernelPackage,textsearch))