summaryrefslogtreecommitdiffstats
path: root/build/external/Makefile
diff options
context:
space:
mode:
authorPiotrX Kleski <piotrx.kleski@intel.com>2020-10-12 15:33:11 +0200
committerDamjan Marion <dmarion@me.com>2020-10-14 17:38:16 +0000
commit9235d43d231b103285be539ebe64d37620fe9930 (patch)
tree36e801ebf90f76b4e139cd4d05719924a2943757 /build/external/Makefile
parent444e800f42565ffb123209f8694751607dc34596 (diff)
crypto: fixed ipsec_mb lib dependencies
Type: fix This patch re-enables libIPSec_MB build for the ipsecmb crypto engine plugin. Also since DPDK meson build relies on system installed libIPSec_MB.so that may be inconsistent with VPP compiled one (system installed version vs VPP locally compiled version for example), this patch also disables all libIPSec_MB dependant PMDs from DPDK build. Also ipsec-mb version is incresed to 0.54. Signed-off-by: PiotrX Kleski <piotrx.kleski@intel.com> Reviewed-by: Fan Zhang <roy.fan.zhang@intel.com> Change-Id: I2ff9e7cd0c35cff9fa642895301a26a5350ea94e
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