fixes etables CONFIG_* selection for >= 2.6.25, fixes #3674

SVN-Revision: 12002
This commit is contained in:
John Crispin 2008-07-30 00:58:36 +00:00
parent 411e1a0757
commit fba71e7fb1

View file

@ -301,13 +301,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