X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/bba8a047d1ac4f0e3f3e97b09c117fab55aa8ea0..6d9af11c8cb11d5deb4f53649c7b96faba88df47:/package/kernel/modules/netsupport.mk diff --git a/package/kernel/modules/netsupport.mk b/package/kernel/modules/netsupport.mk index 70e239c41..3cc1ebbb5 100644 --- a/package/kernel/modules/netsupport.mk +++ b/package/kernel/modules/netsupport.mk @@ -121,7 +121,7 @@ define KernelPackage/ipip DEPENDS:=+kmod-iptunnel4 KCONFIG:=CONFIG_NET_IPIP FILES:=$(LINUX_DIR)/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX) - AUTOLOAD:=$(call AutoLoad,30,ipip) + AUTOLOAD:=$(call AutoLoad,32,ipip) endef define KernelPackage/ipip/description @@ -216,19 +216,22 @@ endef $(eval $(call KernelPackage,ipsec6)) - -# NOTE: tunnel4 is not selectable by itself, so enable ipip for that define KernelPackage/iptunnel4 - SUBMENU:=$(NETWORK_SUPPORT_MENU) - TITLE:=IPv4 tunneling - DEPENDS:= @LINUX_2_6 - KCONFIG:= \ - CONFIG_NET_IPIP \ - CONFIG_INET_TUNNEL - FILES:= $(foreach mod,tunnel4, \ - $(LINUX_DIR)/net/ipv4/$(mod).$(LINUX_KMOD_SUFFIX) \ - ) - AUTOLOAD:=$(call AutoLoad,31,tunnel4) + TITLE:=IP in IP encapsulation support + KCONFIG:=$(CONFIG_NET_IPIP) + SUBMENU:=$(NSMENU) +endef + +define KernelPackage/iptunnel4/2.4 + FILES:=$(LINUX_DIR)/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,30,ipip) +endef + +define KernelPackage/iptunnel4/2.6 + FILES:= \ + $(LINUX_DIR)/net/ipv4/ipip.$(LINUX_KMOD_SUFFIX) \ + $(LINUX_DIR)/net/ipv4/tunnel4.$(LINUX_KMOD_SUFFIX) + AUTOLOAD:=$(call AutoLoad,30,ipip tunnel4) endef define KernelPackage/iptunnel4/description @@ -237,7 +240,6 @@ endef $(eval $(call KernelPackage,iptunnel4)) - define KernelPackage/iptunnel6 SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=IPv6 tunneling