aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Jones <thj@freebsd.org>2024-02-01 16:10:44 +0000
committerDamjan Marion <dmarion@0xa5.net>2024-09-25 13:35:22 +0000
commit70522a1dc211013cc792f2c09e6a3500524dc1d9 (patch)
tree7a14665d8491e7fbab4f3f5c3fe89d553c6a6311
parent33fec83487b3f88203b0a854f7aec89d6e405cd7 (diff)
dpdk: Enable dpdk build on FreeBSD
Type: improvement Change-Id: If897f3bdfc131f8d7c01718057b54087eff02d7a Signed-off-by: Tom Jones <thj@freebsd.org>
-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