aboutsummaryrefslogtreecommitdiffstats
path: root/build/external
diff options
context:
space:
mode:
authorTom Jones <thj@freebsd.org>2024-01-24 10:46:44 +0000
committerDamjan Marion <dmarion@0xa5.net>2024-02-13 16:26:41 +0000
commitb077d6678cc32c7f65d631b76fba5759692f880c (patch)
tree2d73c0d2f173e55ee8e3cb24a339dbac0a8ed36d /build/external
parentcaf9d4f4f880e167f22899f3c99b1bf93a39745f (diff)
build: Limit external libraries on FreeBSD
Limit the libraries we build on FreeBSD. This change intends to get us closer to building on FreeBSD, DPDK will require a larger set of changes so remove it until those changes are ready to integrate. Type: improvement Change-Id: I0f672a2b5bc30f2228020049fa71a81a2569ef54 Signed-off-by: Tom Jones <thj@freebsd.org>
Diffstat (limited to 'build/external')
-rw-r--r--build/external/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/build/external/Makefile b/build/external/Makefile
index af2512c4614..c5e6f634dd7 100644
--- a/build/external/Makefile
+++ b/build/external/Makefile
@@ -39,20 +39,30 @@ AARCH64=$(filter aarch64,$(shell uname -m))
include packages.mk
include packages/ipsec-mb.mk
include packages/quicly.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
.PHONY: clean
clean:
@rm -rf $(B) $(I)
.PHONY: install
+ifeq ($(shell uname), FreeBSD)
+install: $(if $(ARCH_X86_64), ipsec-mb-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
+else
config: $(if $(ARCH_X86_64), ipsec-mb-config) dpdk-config rdma-core-config quicly-build
+endif # FreeBSD
##############################################################################
# .deb packaging