Files
packages/net/openvswitch/openvswitch.mk
T
Sander van Deijck 414a6f952d openvswitch: update to 3.7.1
The 2.17 LTS branch reached end of life in February 2025. Update to
3.7.1 from the current 3.7 LTS branch.

Patches:
- 0007: refreshed, libbpf linking was removed upstream
- 0008: dropped, included upstream

The version bump checklist no longer needs to check the kernel versions
supported by the datapath module, as the Open vSwitch source tree does
not contain one anymore. Note instead that net/ovn has to be updated
along with it.

Signed-off-by: Sander van Deijck <sander@vandeijck.com>
2026-10-24 10:04:44 +03:00

37 lines
924 B
Makefile

# Copyright (C) 2020 Yousong Zhou <yszhou4tech@gmail.com>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
# Versions
ovs_version:=3.7.1
ovs_builddir=$(KERNEL_BUILD_DIR)/openvswitch-$(ovs_version)
# Shared vars, macros
ovs_packages:=
ovs_package_name=$(if $(filter openvswitch,$(1)),openvswitch,openvswitch-$(1))
define OvsPackageTemplate
define Package/$(call ovs_package_name,$(1))
SECTION:=net
SUBMENU:=Open vSwitch
CATEGORY:=Network
URL:=https://www.openvswitch.org
TITLE:=$(ovs_$(1)_title)
HIDDEN:=$(ovs_$(1)_hidden)
DEPENDS:=$(ovs_$(1)_depends)
endef
define Package/$(call ovs_package_name,$(1))/install
$(foreach f,$(ovs_$(1)_files),
$(INSTALL_DIR) $$(1)/$(dir $(f))
$(CP) $(PKG_INSTALL_DIR)/$(f) $$(1)/$(dir $(f))
)
$(ovs_$(1)_install)
endef
ovs_packages+=$(call ovs_package_name,$(1))
endef