summaryrefslogtreecommitdiffstats
path: root/build/external/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'build/external/Makefile')
-rw-r--r--build/external/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/build/external/Makefile b/build/external/Makefile
index b0e3cee4faa..852766f8624 100644
--- a/build/external/Makefile
+++ b/build/external/Makefile
@@ -33,6 +33,8 @@ else
CMAKE?=cmake
endif
+ARCH_X86_64=$(filter x86_64,$(shell uname -m))
+
include packages.mk
include packages/nasm.mk
include packages/ipsec-mb.mk
@@ -46,10 +48,10 @@ clean:
@rm -rf $(B) $(I)
.PHONY: install
-install: dpdk-install rdma-core-install quicly-install libbpf-install
+install: $(if $(ARCH_X86_64), nasm-install ipsec-mb-install) dpdk-install rdma-core-install quicly-install libbpf-install
.PHONY: config
-config: dpdk-config rdma-core-config
+config: $(if $(ARCH_X86_64), nasm-config ipsec-mb-config) dpdk-config rdma-core-config
##############################################################################
# .deb packaging