|
|
@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
PKG_NAME:=openvswitch |
|
|
|
|
|
|
|
PKG_RELEASE:=2 |
|
|
|
PKG_RELEASE:=1 |
|
|
|
PKG_VERSION:=2.3.90 |
|
|
|
PKG_RELEASE=$(PKG_SOURCE_VERSION) |
|
|
|
PKG_LICENSE:=Apache-2.0 |
|
|
@ -24,6 +24,8 @@ PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) |
|
|
|
PKG_SOURCE_VERSION:=58be9c9fd732b5bdd3d4c2e9b8cc2313f570094d |
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz |
|
|
|
|
|
|
|
SUPPORTED_KERNELS:=LINUX_3_18||LINUX_4_0 |
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk |
|
|
|
include $(INCLUDE_DIR)/kernel.mk |
|
|
|
$(call include_mk, python-package.mk) |
|
|
@ -50,8 +52,7 @@ endef |
|
|
|
define Package/openvswitch |
|
|
|
$(call Package/openvswitch/Default) |
|
|
|
TITLE:=Open vSwitch Userspace Package |
|
|
|
DEPENDS:=+libpcap +libopenssl +librt +libatomic +kmod-openvswitch \
|
|
|
|
@(LINUX_3_8||LINUX_3_10||LINUX_3_13||LINUX_3_14) |
|
|
|
DEPENDS:=+libpcap +libopenssl +librt +libatomic +kmod-openvswitch @(SUPPORTED_KERNELS) |
|
|
|
endef |
|
|
|
|
|
|
|
define Package/openvswitch/description |
|
|
@ -95,8 +96,7 @@ define KernelPackage/openvswitch |
|
|
|
SUBMENU:=Network Support |
|
|
|
TITLE:=Open vSwitch Kernel Package |
|
|
|
KCONFIG:=CONFIG_BRIDGE |
|
|
|
DEPENDS:=+kmod-stp +kmod-ipv6 +kmod-gre +kmod-lib-crc32c +kmod-vxlan \
|
|
|
|
@(LINUX_3_8||LINUX_3_10||LINUX_3_13||LINUX_3_14) |
|
|
|
DEPENDS:=+kmod-stp +kmod-ipv6 +kmod-gre +kmod-lib-crc32c +kmod-vxlan @(SUPPORTED_KERNELS) |
|
|
|
FILES:= \
|
|
|
|
$(PKG_BUILD_DIR)/datapath/linux/openvswitch.$(LINUX_KMOD_SUFFIX) |
|
|
|
AUTOLOAD:=$(call AutoLoad,21,openvswitch) |
|
|
|