[dpdk-dev] [PATCH v2 1/4] drivers/crypto: enable meson support for the aesni gcm
Hari Kumar Vemula
hari.kumarx.vemula at intel.com
Fri Oct 5 12:59:14 CEST 2018
Added new meson.build files for aesni_gcm
Signed-off-by: Hari Kumar Vemula <hari.kumarx.vemula at intel.com>
---
drivers/crypto/aesni_gcm/meson.build | 13 +++++++++++++
drivers/crypto/meson.build | 2 +-
2 files changed, 14 insertions(+), 1 deletion(-)
create mode 100644 drivers/crypto/aesni_gcm/meson.build
diff --git a/drivers/crypto/aesni_gcm/meson.build b/drivers/crypto/aesni_gcm/meson.build
new file mode 100644
index 000000000..e64f8ce71
--- /dev/null
+++ b/drivers/crypto/aesni_gcm/meson.build
@@ -0,0 +1,13 @@
+# 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('aesni_gcm_pmd.c', 'aesni_gcm_pmd_ops.c')
+deps += ['bus_vdev']
+
diff --git a/drivers/crypto/meson.build b/drivers/crypto/meson.build
index 6ed853b7a..7e14cbba0 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 = ['ccp', 'dpaa_sec', 'dpaa2_sec', 'mvsam',
+drivers = ['aesni_gcm', 'ccp', 'dpaa_sec', 'dpaa2_sec', 'mvsam',
'null', 'openssl', 'qat', 'scheduler', 'virtio']
std_deps = ['cryptodev'] # cryptodev pulls in all other needed deps
--
2.13.6
More information about the dev
mailing list