openvswitch: rework openvswitch kernel datapath package
- KCONFIG: bridge compatibility was removed since Open vSwitch 1.10. See Open vSwitch FAQ.md for details - The module does not depend on kmod-gre, kmod-vxlan - Use AutoProbe to remove dependecy on specific priority Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
parent
f53d452bd1
commit
eeb6a3fcbb
1 changed files with 5 additions and 15 deletions
|
@ -127,23 +127,13 @@ define KernelPackage/openvswitch
|
||||||
SECTION:=kernel
|
SECTION:=kernel
|
||||||
CATEGORY:=Kernel modules
|
CATEGORY:=Kernel modules
|
||||||
SUBMENU:=Network Support
|
SUBMENU:=Network Support
|
||||||
TITLE:=Open vSwitch Kernel Package
|
TITLE:=Open vSwitch kernel datapath
|
||||||
KCONFIG:= \
|
KCONFIG:=CONFIG_OPENVSWITCH
|
||||||
CONFIG_BRIDGE \
|
|
||||||
CONFIG_OPENVSWITCH \
|
|
||||||
CONFIG_OPENVSWITCH_GRE=n \
|
|
||||||
CONFIG_OPENVSWITCH_VXLAN=n \
|
|
||||||
CONFIG_OPENVSWITCH_GENEVE=n
|
|
||||||
DEPENDS:= \
|
DEPENDS:= \
|
||||||
@IPV6 +kmod-gre +kmod-lib-crc32c +kmod-mpls \
|
+kmod-lib-crc32c +kmod-mpls \
|
||||||
+kmod-vxlan +kmod-nf-nat +kmod-nf-nat6
|
+kmod-nf-nat +IPV6:kmod-nf-nat6
|
||||||
FILES:= $(LINUX_DIR)/net/openvswitch/openvswitch.ko
|
FILES:= $(LINUX_DIR)/net/openvswitch/openvswitch.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,21,openvswitch)
|
AUTOLOAD:=$(call AutoProbe,openvswitch)
|
||||||
endef
|
|
||||||
|
|
||||||
define KernelPackage/openvswitch/description
|
|
||||||
This package contains the Open vSwitch kernel moodule and bridge compat
|
|
||||||
module. Furthermore, it supports OpenFlow.
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
CONFIGURE_ARGS += --enable-ndebug
|
CONFIGURE_ARGS += --enable-ndebug
|
||||||
|
|
Loading…
Reference in a new issue