aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Jones <thj@freebsd.org>2024-02-01 16:09:56 +0000
committerDamjan Marion <dmarion@0xa5.net>2024-05-06 11:37:06 +0000
commit3b8819524f8aa76485b65b7249c483217100fed9 (patch)
tree5c8b7e4ed18c1e4ed562a23f0fef1469bdcc39ea
parent5267b535285b2dd3775d8a8a88791100ef536243 (diff)
dpdk: Don't depend on rdma-core on FreeBSD
Type: improvement Change-Id: Icad058df22d3f9d65b086215cc17b1ab32d59eb8 Signed-off-by: Tom Jones <thj@freebsd.org>
-rw-r--r--build/external/packages/dpdk.mk5
1 files changed, 4 insertions, 1 deletions
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)