Fix module loading order (#1048)

SVN-Revision: 5777
lede-17.01
Florian Fainelli 2006-12-13 12:51:46 +00:00
parent 51078ecdac
commit 15af8eb13a
1 changed files with 2 additions and 2 deletions

View File

@ -184,7 +184,7 @@ define KernelPackage/ip6tables
KCONFIG:=$(CONFIG_IP6_NF_IPTABLES) KCONFIG:=$(CONFIG_IP6_NF_IPTABLES)
FILES:=$(MODULES_DIR)/kernel/net/ipv6/netfilter/ip*.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/net/ipv6/netfilter/ip*.$(LINUX_KMOD_SUFFIX)
SUBMENU:=$(NFMENU) SUBMENU:=$(NFMENU)
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(patsubst %.ko,%,$(wildcard $(MODULES_DIR)/kernel/net/ipv6/netfilter/ip*.$(LINUX_KMOD_SUFFIX))))) AUTOLOAD:=$(call AutoLoad,40,$(notdir $(patsubst %.ko,%,$(wildcard $(MODULES_DIR)/kernel/net/ipv6/netfilter/ip6_*.$(LINUX_KMOD_SUFFIX)) $(wildcard $(MODULES_DIR)/kernel/net/ipv6/netfilter/ip6table_*.$(LINUX_KMOD_SUFFIX)) $(wildcard $(MODULES_DIR)/kernel/net/ipv6/netfilter/ip6t_*.$(LINUX_KMOD_SUFFIX)))))
endef endef
$(eval $(call KernelPackage,ip6tables)) $(eval $(call KernelPackage,ip6tables))
@ -208,6 +208,6 @@ define KernelPackage/ebtables
FILES:=$(MODULES_DIR)/kernel/net/bridge/netfilter/*.$(LINUX_KMOD_SUFFIX) FILES:=$(MODULES_DIR)/kernel/net/bridge/netfilter/*.$(LINUX_KMOD_SUFFIX)
KCONFIG:=$(CONFIG_BRIDGE_NF_EBTABLES) KCONFIG:=$(CONFIG_BRIDGE_NF_EBTABLES)
SUBMENU:=$(NFMENU) SUBMENU:=$(NFMENU)
AUTOLOAD:=$(call AutoLoad,40,$(notdir $(patsubst %.ko,%,$(wildcard $(MODULES_DIR)/kernel/net/bridge/netfilter/*.$(LINUX_KMOD_SUFFIX))))) AUTOLOAD:=$(call AutoLoad,40,$(notdir $(patsubst %.ko,%,ebtables.ko $(wildcard $(MODULES_DIR)/kernel/net/bridge/netfilter/ebtable_*.$(LINUX_KMOD_SUFFIX)) $(wildcard $(MODULES_DIR)/kernel/net/bridge/netfilter/ebt_*.$(LINUX_KMOD_SUFFIX)))))
endef endef
$(eval $(call KernelPackage,ebtables)) $(eval $(call KernelPackage,ebtables))