xref: /dpdk/drivers/crypto/uadk/meson.build (revision 8c515d9680f3d291e79309a35cf34ffa49398136)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright 2022-2023 Huawei Technologies Co.,Ltd. All rights reserved.
3# Copyright 2022-2023 Linaro ltd.
4
5if not is_linux
6    build = false
7    reason = 'only supported on Linux'
8    subdir_done()
9endif
10
11sources = files(
12        'uadk_crypto_pmd.c',
13)
14
15deps += 'bus_vdev'
16dep = dependency('libwd_crypto', required: false, method: 'pkg-config')
17if not dep.found()
18    build = false
19    reason = 'missing dependency, "libwd_crypto"'
20else
21    ext_deps += dep
22endif
23
24dep = dependency('libwd', required: false, method: 'pkg-config')
25if not dep.found()
26    build = false
27    reason = 'missing dependency, "libwd"'
28else
29    ext_deps += dep
30endif
31