crypto/octeontx2: move capabilities init into probe
[dpdk.git] / drivers / crypto / armv8 / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2019 Arm Limited
3
4 path = get_option('armv8_crypto_dir')
5 if path == ''
6         build = false
7         reason = 'missing dependency, "armv8_crypto"'
8         subdir_done()
9 endif
10
11 inc_dir = path
12
13 lib = cc.find_library('libAArch64crypto', dirs: [path], required: false)
14 if not lib.found()
15         build = false
16         reason = 'missing dependency, "AArch64crypto"'
17         subdir_done()
18 else
19         ext_deps += lib
20         includes += include_directories(inc_dir)
21 endif
22
23 deps += ['bus_vdev']
24 sources = files('rte_armv8_pmd.c', 'rte_armv8_pmd_ops.c')