kernel: add fake users for udptunnel and iptunnel modules
Without any in-tree users enabled the Kernel's build process doesn't actually build those modules. Enable some potential in-tree users during Kernel build, so out-of-tree modules can depend on them. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
		| @@ -148,7 +148,9 @@ $(eval $(call KernelPackage,8021q)) | |||||||
| define KernelPackage/udptunnel4 | define KernelPackage/udptunnel4 | ||||||
|   SUBMENU:=$(NETWORK_SUPPORT_MENU) |   SUBMENU:=$(NETWORK_SUPPORT_MENU) | ||||||
|   TITLE:=IPv4 UDP tunneling support |   TITLE:=IPv4 UDP tunneling support | ||||||
|   KCONFIG:=CONFIG_NET_UDP_TUNNEL |   KCONFIG:= \ | ||||||
|  | 	CONFIG_NET_UDP_TUNNEL \ | ||||||
|  | 	CONFIG_VXLAN=m | ||||||
|   HIDDEN:=1 |   HIDDEN:=1 | ||||||
|   FILES:=$(LINUX_DIR)/net/ipv4/udp_tunnel.ko |   FILES:=$(LINUX_DIR)/net/ipv4/udp_tunnel.ko | ||||||
|   AUTOLOAD:=$(call AutoLoad,32,udp_tunnel) |   AUTOLOAD:=$(call AutoLoad,32,udp_tunnel) | ||||||
| @@ -161,7 +163,9 @@ define KernelPackage/udptunnel6 | |||||||
|   SUBMENU:=$(NETWORK_SUPPORT_MENU) |   SUBMENU:=$(NETWORK_SUPPORT_MENU) | ||||||
|   TITLE:=IPv6 UDP tunneling support |   TITLE:=IPv6 UDP tunneling support | ||||||
|   DEPENDS:=@IPV6 |   DEPENDS:=@IPV6 | ||||||
|   KCONFIG:=CONFIG_NET_UDP_TUNNEL |   KCONFIG:= \ | ||||||
|  | 	CONFIG_NET_UDP_TUNNEL \ | ||||||
|  | 	CONFIG_VXLAN=m | ||||||
|   HIDDEN:=1 |   HIDDEN:=1 | ||||||
|   FILES:=$(LINUX_DIR)/net/ipv6/ip6_udp_tunnel.ko |   FILES:=$(LINUX_DIR)/net/ipv6/ip6_udp_tunnel.ko | ||||||
|   AUTOLOAD:=$(call AutoLoad,32,ip6_udp_tunnel) |   AUTOLOAD:=$(call AutoLoad,32,ip6_udp_tunnel) | ||||||
| @@ -444,7 +448,8 @@ define KernelPackage/iptunnel4 | |||||||
|   TITLE:=IPv4 tunneling |   TITLE:=IPv4 tunneling | ||||||
|   HIDDEN:=1 |   HIDDEN:=1 | ||||||
|   KCONFIG:= \ |   KCONFIG:= \ | ||||||
| 	CONFIG_INET_TUNNEL | 	CONFIG_INET_TUNNEL \ | ||||||
|  | 	CONFIG_NET_IPIP=m | ||||||
|   FILES:=$(LINUX_DIR)/net/ipv4/tunnel4.ko |   FILES:=$(LINUX_DIR)/net/ipv4/tunnel4.ko | ||||||
|   AUTOLOAD:=$(call AutoLoad,31,tunnel4) |   AUTOLOAD:=$(call AutoLoad,31,tunnel4) | ||||||
| endef | endef | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Daniel Golle
					Daniel Golle