summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/drivers/crypto/armv8/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/drivers/crypto/armv8/meson.build')
-rw-r--r--src/spdk/dpdk/drivers/crypto/armv8/meson.build24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/spdk/dpdk/drivers/crypto/armv8/meson.build b/src/spdk/dpdk/drivers/crypto/armv8/meson.build
new file mode 100644
index 000000000..c445c5bd3
--- /dev/null
+++ b/src/spdk/dpdk/drivers/crypto/armv8/meson.build
@@ -0,0 +1,24 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2019 Arm Limited
+
+path = get_option('armv8_crypto_dir')
+if path == ''
+ build = false
+ reason = 'missing dependency, "armv8_crypto"'
+ subdir_done()
+endif
+
+inc_dir = path
+
+lib = cc.find_library('libAArch64crypto', dirs: [path], required: false)
+if not lib.found()
+ build = false
+ reason = 'missing dependency, "AArch64crypto"'
+ subdir_done()
+else
+ ext_deps += lib
+ includes += include_directories(inc_dir)
+endif
+
+deps += ['bus_vdev']
+sources = files('rte_armv8_pmd.c', 'rte_armv8_pmd_ops.c')