diff options
author | Daniel Golle <daniel@makrotopia.org> | 2016-08-22 17:14:03 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2016-08-22 17:23:05 +0200 |
commit | d7e040f8bccec06b64c82963be6435101423dbf1 (patch) | |
tree | e71f54c8f7fc1cc66d3786fca258af821459052b /package | |
parent | bb20164c8f36d02735ffc9af36810a5dfeb5373a (diff) | |
download | mtk-20170518-d7e040f8bccec06b64c82963be6435101423dbf1.zip mtk-20170518-d7e040f8bccec06b64c82963be6435101423dbf1.tar.gz mtk-20170518-d7e040f8bccec06b64c82963be6435101423dbf1.tar.bz2 |
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>
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/linux/modules/netsupport.mk | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk index c68be90..e52dab6 100644 --- a/package/kernel/linux/modules/netsupport.mk +++ b/package/kernel/linux/modules/netsupport.mk @@ -148,7 +148,9 @@ $(eval $(call KernelPackage,8021q)) define KernelPackage/udptunnel4 SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=IPv4 UDP tunneling support - KCONFIG:=CONFIG_NET_UDP_TUNNEL + KCONFIG:= \ + CONFIG_NET_UDP_TUNNEL \ + CONFIG_VXLAN=m HIDDEN:=1 FILES:=$(LINUX_DIR)/net/ipv4/udp_tunnel.ko AUTOLOAD:=$(call AutoLoad,32,udp_tunnel) @@ -161,7 +163,9 @@ define KernelPackage/udptunnel6 SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=IPv6 UDP tunneling support DEPENDS:=@IPV6 - KCONFIG:=CONFIG_NET_UDP_TUNNEL + KCONFIG:= \ + CONFIG_NET_UDP_TUNNEL \ + CONFIG_VXLAN=m HIDDEN:=1 FILES:=$(LINUX_DIR)/net/ipv6/ip6_udp_tunnel.ko AUTOLOAD:=$(call AutoLoad,32,ip6_udp_tunnel) @@ -444,7 +448,8 @@ define KernelPackage/iptunnel4 TITLE:=IPv4 tunneling HIDDEN:=1 KCONFIG:= \ - CONFIG_INET_TUNNEL + CONFIG_INET_TUNNEL \ + CONFIG_NET_IPIP=m FILES:=$(LINUX_DIR)/net/ipv4/tunnel4.ko AUTOLOAD:=$(call AutoLoad,31,tunnel4) endef |