Browse Source

openvswitch: add gre, vxlan, geneve tunneling support

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
lilik-openwrt-22.03
Yousong Zhou 6 years ago
parent
commit
5f5dc3614f
1 changed files with 38 additions and 2 deletions
  1. +38
    -2
      net/openvswitch/Makefile

+ 38
- 2
net/openvswitch/Makefile View File

@ -13,7 +13,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=openvswitch
PKG_VERSION:=2.8.1
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_LICENSE:=Apache-2.0
PKG_LICENSE_FILES:=COPYING
PKG_USE_MIPS16:=0
@ -136,6 +136,39 @@ define KernelPackage/openvswitch
AUTOLOAD:=$(call AutoProbe,openvswitch)
endef
define KernelPackage/openvswitch-gre
SECTION:=kernel
CATEGORY:=Kernel modules
SUBMENU:=Network Support
TITLE:=Open vSwitch GRE tunneling support
KCONFIG:= CONFIG_OPENVSWITCH_GRE
DEPENDS:= +kmod-openvswitch +kmod-gre
FILES:= $(LINUX_DIR)/net/openvswitch/vport-gre.ko
AUTOLOAD:=$(call AutoProbe,vport-gre)
endef
define KernelPackage/openvswitch-vxlan
SECTION:=kernel
CATEGORY:=Kernel modules
SUBMENU:=Network Support
TITLE:=Open vSwitch VXLAN tunneling support
KCONFIG:= CONFIG_OPENVSWITCH_VXLAN
DEPENDS:= +kmod-openvswitch +kmod-vxlan
FILES:= $(LINUX_DIR)/net/openvswitch/vport-vxlan.ko
AUTOLOAD:=$(call AutoProbe,vport-vxlan)
endef
define KernelPackage/openvswitch-geneve
SECTION:=kernel
CATEGORY:=Kernel modules
SUBMENU:=Network Support
TITLE:=Open vSwitch Geneve tunneling support
KCONFIG:= CONFIG_OPENVSWITCH_GENEVE
DEPENDS:= +kmod-openvswitch +kmod-geneve
FILES:= $(LINUX_DIR)/net/openvswitch/vport-geneve.ko
AUTOLOAD:=$(call AutoProbe,vport-geneve)
endef
CONFIGURE_ARGS += --enable-ndebug
CONFIGURE_ARGS += --enable-shared
@ -263,5 +296,8 @@ $(eval $(call BuildPackage,openvswitch-ovn))
$(eval $(call BuildPackage,openvswitch-vtep))
$(eval $(call BuildPackage,openvswitch-python))
$(eval $(call BuildPackage,openvswitch))
$(eval $(call KernelPackage,openvswitch))
$(eval $(call KernelPackage,openvswitch))
$(eval $(call KernelPackage,openvswitch-gre))
$(eval $(call KernelPackage,openvswitch-vxlan))
$(eval $(call KernelPackage,openvswitch-geneve))

Loading…
Cancel
Save