From 7ddd620e3c8c6af5cbf20f5ad6afbd9d4f9db6e9 Mon Sep 17 00:00:00 2001 From: Hari Kumar Vemula Date: Fri, 5 Oct 2018 11:59:15 +0100 Subject: [PATCH] crypto/aesni_mb: enable meson build Added new meson.build file for aesni_mb Signed-off-by: Hari Kumar Vemula Acked-by: Luca Boccassi --- drivers/crypto/aesni_mb/meson.build | 12 ++++++++++++ drivers/crypto/meson.build | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 drivers/crypto/aesni_mb/meson.build diff --git a/drivers/crypto/aesni_mb/meson.build b/drivers/crypto/aesni_mb/meson.build new file mode 100644 index 0000000000..aae0995e59 --- /dev/null +++ b/drivers/crypto/aesni_mb/meson.build @@ -0,0 +1,12 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Intel Corporation + +lib = cc.find_library('IPSec_MB', required: false) +if not lib.found() + build = false +else + ext_deps += lib +endif + +sources = files('rte_aesni_mb_pmd.c', 'rte_aesni_mb_pmd_ops.c') +deps += ['bus_vdev'] diff --git a/drivers/crypto/meson.build b/drivers/crypto/meson.build index 367d0ea541..a5a7f4f7d7 100644 --- a/drivers/crypto/meson.build +++ b/drivers/crypto/meson.build @@ -1,7 +1,7 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation -drivers = ['aesni_gcm', 'ccp', 'dpaa_sec', 'dpaa2_sec', 'mvsam', +drivers = ['aesni_gcm', 'aesni_mb', 'ccp', 'dpaa_sec', 'dpaa2_sec', 'mvsam', 'null', 'octeontx', 'openssl', 'qat', 'scheduler', 'virtio'] std_deps = ['cryptodev'] # cryptodev pulls in all other needed deps -- 2.20.1