summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Jones <thj@freebsd.org>2024-02-01 16:10:44 +0000
committerTom Jones <thj@freebsd.org>2024-09-26 10:41:23 +0000
commit45bd5786b1f6c1fb89ba177e3b6e3fd05db36ffb (patch)
tree1b3bf50222eef8e97172f0fe25b748c0c023b22e
parentb91e15387d045b6afd3e1311e38acb7001e6f06a (diff)
dpdk: Enable dpdk build on FreeBSD
Type: improvement Change-Id: If897f3bdfc131f8d7c01718057b54087eff02d7a Signed-off-by: Tom Jones <thj@freebsd.org> (cherry picked from commit 70522a1dc211013cc792f2c09e6a3500524dc1d9)
-rw-r--r--build/external/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/external/Makefile b/build/external/Makefile
index ce57c79eec2..d35c6553478 100644
--- a/build/external/Makefile
+++ b/build/external/Makefile
@@ -49,12 +49,12 @@ AARCH64=$(filter aarch64,$(shell uname -m))
include packages.mk
include packages/ipsec-mb.mk
include packages/quicly.mk
+include packages/dpdk.mk
ifneq ($(shell uname), FreeBSD)
include packages/rdma-core.mk
-include packages/dpdk.mk
include packages/xdp-tools.mk
include packages/octeon-roc.mk
-endif # FreeBSD
+endif # ! FreeBSD
.PHONY: clean
clean:
@@ -62,14 +62,14 @@ clean:
.PHONY: install
ifeq ($(shell uname), FreeBSD)
-install: $(if $(ARCH_X86_64), ipsec-mb-install) quicly-install
+install: $(if $(ARCH_X86_64), ipsec-mb-install) dpdk-install quicly-install
else
install: $(if $(ARCH_X86_64), ipsec-mb-install) dpdk-install rdma-core-install quicly-install xdp-tools-install $(if $(AARCH64), octeon-roc-install)
endif # FreeBSD
.PHONY: config
ifeq ($(shell uname), FreeBSD)
-config: $(if $(ARCH_X86_64), ipsec-mb-config) quicly-build
+config: $(if $(ARCH_X86_64), ipsec-mb-config) dpdk-config quicly-build
else
config: $(if $(ARCH_X86_64), ipsec-mb-config) dpdk-config rdma-core-config quicly-build
endif # FreeBSD