aboutsummaryrefslogtreecommitdiffstats
path: root/build/external/patches
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/patches
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/patches')
-rw-r--r--build/external/patches/ipsec-mb_0.54/0001-nasm-ver-check.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/build/external/patches/ipsec-mb_0.54/0001-nasm-ver-check.patch b/build/external/patches/ipsec-mb_0.54/0001-nasm-ver-check.patch
new file mode 100644
index 00000000000..d4023916d46
--- /dev/null
+++ b/build/external/patches/ipsec-mb_0.54/0001-nasm-ver-check.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index 329da9f..c7fa8ad 100644
+--- a/Makefile
++++ b/Makefile
+@@ -51,7 +51,7 @@ YASM ?= yasm
+ NASM ?= nasm
+
+ # Detect NASM version (minimum version required: 2.14)
+-NASM_VERSION = $(shell nasm -v | cut -d " " -f 3)
++NASM_VERSION = $(shell $(NASM) -v | cut -d " " -f 3)
+
+ NASM_MAJOR_REQ = 2
+ NASM_MINOR_REQ = 14