]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | # SPDX-License-Identifier: BSD-3-Clause |
2 | # Copyright(c) 2018 Advanced Micro Devices, Inc. All rights reserved. | |
3 | ||
9f95a23c | 4 | if not is_linux |
f67539c2 TL |
5 | build = false |
6 | reason = 'only supported on linux' | |
11fdf7f2 TL |
7 | endif |
8 | dep = dependency('libcrypto', required: false) | |
9 | if not dep.found() | |
10 | build = false | |
f67539c2 | 11 | reason = 'missing dependency, "libcrypto"' |
11fdf7f2 TL |
12 | endif |
13 | deps += 'bus_vdev' | |
14 | deps += 'bus_pci' | |
15 | ||
16 | sources = files('rte_ccp_pmd.c', | |
17 | 'ccp_crypto.c', | |
18 | 'ccp_dev.c', | |
19 | 'ccp_pci.c', | |
20 | 'ccp_pmd_ops.c') | |
21 | ||
22 | ext_deps += dep |