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' 7 subdir_done() 8endif 9dep = dependency('libcrypto', required: false, method: 'pkg-config') 10if not dep.found() 11 build = false 12 reason = 'missing dependency, "libcrypto"' 13endif 14deps += 'bus_vdev' 15deps += 'bus_pci' 16 17sources = files( 18 'rte_ccp_pmd.c', 19 'ccp_crypto.c', 20 'ccp_dev.c', 21 'ccp_pmd_ops.c', 22) 23 24ext_deps += dep 25