From: Ankur Dwivedi <ankur.dwiv...@cavium.com>

Adding the meson.build file for the CPT PMD.

Signed-off-by: Ankur Dwivedi <ankur.dwiv...@cavium.com>
Signed-off-by: Murthy NSSR <nidadavolu.mur...@cavium.com>
Signed-off-by: Nithin Dabilpuram <nithin.dabilpu...@cavium.com>
Signed-off-by: Ragothaman Jayaraman <ragothaman.jayara...@cavium.com>
Signed-off-by: Srisivasubramanian Srinivasan 
<srisivasubramanian.sriniva...@cavium.com>
---
 drivers/crypto/cpt/meson.build | 16 ++++++++++++++++
 drivers/crypto/meson.build     |  2 +-
 2 files changed, 17 insertions(+), 1 deletion(-)
 create mode 100644 drivers/crypto/cpt/meson.build

diff --git a/drivers/crypto/cpt/meson.build b/drivers/crypto/cpt/meson.build
new file mode 100644
index 0000000..d298587
--- /dev/null
+++ b/drivers/crypto/cpt/meson.build
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2017 Cavium, Inc
+if host_machine.system() != 'linux'
+        build = false
+endif
+
+sources = files('cpt_pmd_cryptodev.c',
+               'cpt_pmd_ops.c',
+               'base/cpt_device.c',
+               'base/cpt_request_mgr.c',
+               'base/cpt_ops.c',
+               'base/cpt8xxx_device.c',
+               'base/cpt_vf_mbox.c')
+
+deps += ['bus_pci']
+pkgconfig_extra_libs += '-lcrypto'
diff --git a/drivers/crypto/meson.build b/drivers/crypto/meson.build
index d64ca41..6a7923f 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 = ['cpt', 'ccp', 'dpaa_sec', 'dpaa2_sec', 'mvsam',
        'null', 'openssl', 'qat', 'virtio']
 
 std_deps = ['cryptodev'] # cryptodev pulls in all other needed deps
-- 
1.9.3

Reply via email to