dpdk: Enable dpdk build on FreeBSD
Type: improvement
Change-Id: If897f3bdfc131f8d7c01718057b54087eff02d7a
Signed-off-by: Tom Jones <thj@freebsd.org>
diff --git a/build/external/Makefile b/build/external/Makefile
index ce57c79..d35c655 100644
--- a/build/external/Makefile
+++ b/build/external/Makefile
@@ -49,12 +49,12 @@
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 @@
.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