diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-29 22:58:40 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2015-01-29 22:58:40 +0000 |
commit | a03621e0b01de8b7cffff56f3f5483a658bb775b (patch) | |
tree | e2899684feed1dac4a24dc6c49adfda2421188a0 /package | |
parent | 786a3e028f65cb941753f91957ff167dd4c4aa62 (diff) | |
download | upstream-a03621e0b01de8b7cffff56f3f5483a658bb775b.tar.gz upstream-a03621e0b01de8b7cffff56f3f5483a658bb775b.tar.bz2 upstream-a03621e0b01de8b7cffff56f3f5483a658bb775b.zip |
linux: add kmod-udptunnel4 & kmod-udptunnel6 required by kmod-vxlan and kmod-l2tp for >= 3.16
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44210 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/linux/modules/netsupport.mk | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/netsupport.mk b/package/kernel/linux/modules/netsupport.mk index badd54231b..26dd491aec 100644 --- a/package/kernel/linux/modules/netsupport.mk +++ b/package/kernel/linux/modules/netsupport.mk @@ -144,10 +144,38 @@ endef $(eval $(call KernelPackage,8021q)) + +define KernelPackage/udptunnel4 + SUBMENU:=$(NETWORK_SUPPORT_MENU) + TITLE:=IPv4 UDP tunneling support + DEPENDS:=@(!LINUX_3_8&&!LINUX_3_10&&!LINUX_3_13&&!LINUX_3_14) + KCONFIG:=CONFIG_NET_UDP_TUNNEL + FILES:=$(LINUX_DIR)/net/ipv4/udp_tunnel.ko + AUTOLOAD:=$(call AutoLoad,32,udp_tunnel) +endef + + +$(eval $(call KernelPackage,udptunnel4)) + +define KernelPackage/udptunnel6 + SUBMENU:=$(NETWORK_SUPPORT_MENU) + TITLE:=IPv6 UDP tunneling support + DEPENDS:=@(!LINUX_3_8&&!LINUX_3_10&&!LINUX_3_13&&!LINUX_3_14) +kmod-ipv6 + KCONFIG:=CONFIG_NET_UDP_TUNNEL + FILES:=$(LINUX_DIR)/net/ipv6/ip6_udp_tunnel.ko + AUTOLOAD:=$(call AutoLoad,32,ip6_udp_tunnel) +endef + +$(eval $(call KernelPackage,udptunnel6)) + + define KernelPackage/vxlan SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=Native VXLAN Kernel support - DEPENDS:=+kmod-iptunnel + DEPENDS:= \ + +kmod-iptunnel \ + +(!LINUX_3_8&&!LINUX_3_10&&!LINUX_3_13&&!LINUX_3_14):kmod-udptunnel4 \ + +(!LINUX_3_8&&!LINUX_3_10&&!LINUX_3_13&&!LINUX_3_14&&IPV6):kmod-udptunnel6 KCONFIG:=CONFIG_VXLAN FILES:=$(LINUX_DIR)/drivers/net/vxlan.ko AUTOLOAD:=$(call AutoLoad,13,vxlan) @@ -843,7 +871,10 @@ $(eval $(call KernelPackage,pktgen)) define KernelPackage/l2tp SUBMENU:=$(NETWORK_SUPPORT_MENU) TITLE:=Layer Two Tunneling Protocol (L2TP) - DEPENDS:=+IPV6:kmod-ipv6 + DEPENDS:= \ + +IPV6:kmod-ipv6 \ + +(!LINUX_3_8&&!LINUX_3_10&&!LINUX_3_13&&!LINUX_3_14):kmod-udptunnel4 \ + +(!LINUX_3_8&&!LINUX_3_10&&!LINUX_3_13&&!LINUX_3_14&&IPV6):kmod-udptunnel6 KCONFIG:=CONFIG_L2TP \ CONFIG_L2TP_V3=y \ CONFIG_L2TP_DEBUGFS=n |