kernel: mark kmod-udptunnel as hiddden to replace the NET_UDP_TUNNEL kconfig hack

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2016-08-04 19:19:17 +02:00
parent 577f873daf
commit 93fb6ce05b
4 changed files with 2 additions and 33 deletions

View File

@ -149,6 +149,7 @@ define KernelPackage/udptunnel4
SUBMENU:=$(NETWORK_SUPPORT_MENU)
TITLE:=IPv4 UDP tunneling support
KCONFIG:=CONFIG_NET_UDP_TUNNEL
HIDDEN:=1
FILES:=$(LINUX_DIR)/net/ipv4/udp_tunnel.ko
AUTOLOAD:=$(call AutoLoad,32,udp_tunnel)
endef
@ -161,6 +162,7 @@ define KernelPackage/udptunnel6
TITLE:=IPv6 UDP tunneling support
DEPENDS:=@IPV6
KCONFIG:=CONFIG_NET_UDP_TUNNEL
HIDDEN:=1
FILES:=$(LINUX_DIR)/net/ipv6/ip6_udp_tunnel.ko
AUTOLOAD:=$(call AutoLoad,32,ip6_udp_tunnel)
endef

View File

@ -1,11 +0,0 @@
--- a/net/ipv4/Kconfig
+++ b/net/ipv4/Kconfig
@@ -308,7 +308,7 @@ config NET_IPVTI
on top.
config NET_UDP_TUNNEL
- tristate
+ tristate "IP: UDP tunnel"
select NET_IP_TUNNEL
default n

View File

@ -1,11 +0,0 @@
--- a/net/ipv4/Kconfig
+++ b/net/ipv4/Kconfig
@@ -308,7 +308,7 @@ config NET_IPVTI
on top.
config NET_UDP_TUNNEL
- tristate
+ tristate "IP: UDP tunnel"
select NET_IP_TUNNEL
default n

View File

@ -1,11 +0,0 @@
--- a/net/ipv4/Kconfig
+++ b/net/ipv4/Kconfig
@@ -308,7 +308,7 @@ config NET_IPVTI
on top.
config NET_UDP_TUNNEL
- tristate
+ tristate "IP: UDP tunnel"
select NET_IP_TUNNEL
default n