Browse Source

mk/modules.mk: add missing ip_tunnel.ko

Signed-off-by: Phil Sutter <phil@nwl.cc>
Phil Sutter 8 years ago
parent
commit
a3ef102954
2 changed files with 11 additions and 0 deletions
  1. 4 0
      mk/modules.mk
  2. 7 0
      target/linux/config/Config.in.network

+ 4 - 0
mk/modules.mk

@@ -214,6 +214,10 @@ $(eval $(call KMOD_template,INET_TUNNEL,inet-tunnel,\
 	$(MODULES_DIR)/kernel/net/ipv4/tunnel4 \
 ,20))
 
+$(eval $(call KMOD_template,NET_IP_TUNNEL,net-ip-tunnel,\
+	$(MODULES_DIR)/kernel/net/ipv4/ip_tunnel \
+,30))
+
 $(eval $(call KMOD_template,NET_IPIP,net-ipip,\
 	$(MODULES_DIR)/kernel/net/ipv4/ipip \
 ,60))

+ 7 - 0
target/linux/config/Config.in.network

@@ -26,6 +26,7 @@ config ADK_KERNEL_IPV6
 config ADK_KERNEL_IPV6_SIT
 	tristate "IPv6-in-IPv4 tunnel (SIT driver)"
 	select ADK_KERNEL_INET_TUNNEL
+	select ADK_KERNEL_NET_IP_TUNNEL
 	help
 	  Tunneling means encapsulating data of one protocol type within
 	  another protocol and sending it over a channel that understands the
@@ -124,9 +125,14 @@ config ADK_KERNEL_VLAN_8021Q
 config ADK_KERNEL_INET_TUNNEL
 	tristate
 
+config ADK_KERNEL_NET_IP_TUNNEL
+	tristate
+	default n
+
 config ADK_KERNEL_NET_IPIP
 	tristate "IP in IP encapsulation support"
 	select ADK_KERNEL_INET_TUNNEL
+	select ADK_KERNEL_NET_IP_TUNNEL
 	help
 	  Tunneling means encapsulating data of one protocol type within
 	  another protocol and sending it over a channel that understands the
@@ -141,6 +147,7 @@ config ADK_KERNEL_NET_IPGRE
 	tristate "GRE tunnels over IP"
 	select ADK_KERNEL_NET_IPGRE_BROADCAST
 	select ADK_KERNEL_NET_IPGRE_DEMUX
+	select ADK_KERNEL_NET_IP_TUNNEL
 	help
 	  Tunneling means encapsulating data of one protocol type within
 	  another protocol and sending it over a channel that understands the