Added new meson.build file for aesni_mb Exported dependency library path through meson_options.txt file
Signed-off-by: Hari Kumar Vemula <hari.kumarx.vem...@intel.com> --- drivers/crypto/aesni_mb/meson.build | 16 ++++++++++++++++ drivers/crypto/meson.build | 2 +- 2 files changed, 17 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 000000000..000c7adb4 --- /dev/null +++ b/drivers/crypto/aesni_mb/meson.build @@ -0,0 +1,16 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Intel Corporation + +path = get_option('lib_IPSec_MB') +lib_dir = path + '/lib' + +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 7e14cbba0..ab68c2751 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', 'openssl', 'qat', 'scheduler', 'virtio'] std_deps = ['cryptodev'] # cryptodev pulls in all other needed deps -- 2.13.6