f-stack/dpdk/drivers/crypto/ccp/meson.build

25 lines
536 B
Meson
Raw Normal View History

2019-06-25 11:12:58 +00:00
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Advanced Micro Devices, Inc. All rights reserved.
2020-06-18 16:55:50 +00:00
if not is_linux
2022-09-06 04:00:10 +00:00
build = false
reason = 'only supported on Linux'
subdir_done()
2019-06-25 11:12:58 +00:00
endif
2022-09-02 04:40:05 +00:00
dep = dependency('libcrypto', required: false, method: 'pkg-config')
2019-06-25 11:12:58 +00:00
if not dep.found()
2022-09-06 04:00:10 +00:00
build = false
reason = 'missing dependency, "libcrypto"'
2019-06-25 11:12:58 +00:00
endif
deps += 'bus_vdev'
deps += 'bus_pci'
2022-09-06 04:00:10 +00:00
sources = files(
'rte_ccp_pmd.c',
'ccp_crypto.c',
'ccp_dev.c',
'ccp_pmd_ops.c',
)
2019-06-25 11:12:58 +00:00
ext_deps += dep