summaryrefslogtreecommitdiff
path: root/net/openvswitch
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2018-03-05 16:01:17 +0800
committerYousong Zhou <yszhou4tech@gmail.com>2018-03-06 00:29:53 +0800
commiteeb6a3fcbbd99a1df2e5eb92eb517ee6023f9d23 (patch)
tree0a2c7e9fd2d4fbdd321662a562831b2ea7e96762 /net/openvswitch
parentf53d452bd1c850443dbc419e9bee228c7d415cf9 (diff)
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>
Diffstat (limited to 'net/openvswitch')
-rw-r--r--net/openvswitch/Makefile20
1 files changed, 5 insertions, 15 deletions
diff --git a/net/openvswitch/Makefile b/net/openvswitch/Makefile
index 83e4953f5..e68e7413d 100644
--- a/net/openvswitch/Makefile
+++ b/net/openvswitch/Makefile
@@ -127,23 +127,13 @@ define KernelPackage/openvswitch
SECTION:=kernel
CATEGORY:=Kernel modules
SUBMENU:=Network Support
- TITLE:=Open vSwitch Kernel Package
- KCONFIG:= \
- CONFIG_BRIDGE \
- CONFIG_OPENVSWITCH \
- CONFIG_OPENVSWITCH_GRE=n \
- CONFIG_OPENVSWITCH_VXLAN=n \
- CONFIG_OPENVSWITCH_GENEVE=n
+ TITLE:=Open vSwitch kernel datapath
+ KCONFIG:=CONFIG_OPENVSWITCH
DEPENDS:= \
- @IPV6 +kmod-gre +kmod-lib-crc32c +kmod-mpls \
- +kmod-vxlan +kmod-nf-nat +kmod-nf-nat6
+ +kmod-lib-crc32c +kmod-mpls \
+ +kmod-nf-nat +IPV6:kmod-nf-nat6
FILES:= $(LINUX_DIR)/net/openvswitch/openvswitch.ko
- AUTOLOAD:=$(call AutoLoad,21,openvswitch)
-endef
-
-define KernelPackage/openvswitch/description
- This package contains the Open vSwitch kernel moodule and bridge compat
- module. Furthermore, it supports OpenFlow.
+ AUTOLOAD:=$(call AutoProbe,openvswitch)
endef
CONFIGURE_ARGS += --enable-ndebug