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