From 3b8819524f8aa76485b65b7249c483217100fed9 Mon Sep 17 00:00:00 2001 From: Tom Jones Date: Thu, 1 Feb 2024 16:09:56 +0000 Subject: dpdk: Don't depend on rdma-core on FreeBSD Type: improvement Change-Id: Icad058df22d3f9d65b086215cc17b1ab32d59eb8 Signed-off-by: Tom Jones --- build/external/packages/dpdk.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/build/external/packages/dpdk.mk b/build/external/packages/dpdk.mk index b9ce4ac813f..c03d1a14703 100644 --- a/build/external/packages/dpdk.mk +++ b/build/external/packages/dpdk.mk @@ -33,8 +33,11 @@ dpdk_tarball_md5sum_21.11 := 58660bbbe9e95abce86e47692b196555 dpdk_tarball_md5sum := $(dpdk_tarball_md5sum_$(dpdk_version)) dpdk_url := $(dpdk_base_url)/$(dpdk_tarball) dpdk_tarball_strip_dirs := 1 +ifeq ($(shell uname), FreeBSD) +dpdk_depends := $(if $(ARCH_X86_64), ipsec-mb) +else dpdk_depends := rdma-core $(if $(ARCH_X86_64), ipsec-mb) - +endif DPDK_MLX_DEFAULT := $(shell if grep -q "rdma=$(rdma-core_version) dpdk=$(dpdk_version)" mlx_rdma_dpdk_matrix.txt; then echo 'y'; else echo 'n'; fi) DPDK_MLX4_PMD ?= $(DPDK_MLX_DEFAULT) DPDK_MLX5_PMD ?= $(DPDK_MLX_DEFAULT) -- cgit 1.2.3-korg