[dpdk-dev] [PATCH v2 4/4] drivers/crypto: enable meson support for the zuc
Hari Kumar Vemula
hari.kumarx.vemula at intel.com
Fri Oct 5 12:59:17 CEST 2018
Added new meson.build file for ZUC
Signed-off-by: Hari Kumar Vemula <hari.kumarx.vemula at intel.com>
---
drivers/crypto/meson.build | 2 +-
drivers/crypto/zuc/meson.build | 12 ++++++++++++
2 files changed, 13 insertions(+), 1 deletion(-)
create mode 100644 drivers/crypto/zuc/meson.build
diff --git a/drivers/crypto/meson.build b/drivers/crypto/meson.build
index 228729da1..85ab80557 100644
--- a/drivers/crypto/meson.build
+++ b/drivers/crypto/meson.build
@@ -2,7 +2,7 @@
# Copyright(c) 2017 Intel Corporation
drivers = ['aesni_gcm', 'aesni_mb', 'ccp', 'dpaa_sec', 'dpaa2_sec', 'kasumi', 'mvsam',
- 'null', 'openssl', 'qat', 'scheduler', 'virtio']
+ 'null', 'openssl', 'qat', 'scheduler', 'virtio', 'zuc']
std_deps = ['cryptodev'] # cryptodev pulls in all other needed deps
config_flag_fmt = 'RTE_LIBRTE_ at 0@_PMD'
diff --git a/drivers/crypto/zuc/meson.build b/drivers/crypto/zuc/meson.build
new file mode 100644
index 000000000..b8ca7107e
--- /dev/null
+++ b/drivers/crypto/zuc/meson.build
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Intel Corporation
+
+lib = cc.find_library('libsso_zuc', required: false)
+if not lib.found()
+ build = false
+else
+ ext_deps += lib
+endif
+
+sources = files('rte_zuc_pmd.c', 'rte_zuc_pmd_ops.c')
+deps += ['bus_vdev']
--
2.13.6
More information about the dev
mailing list