2019-06-25 11:12:58 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2018 Intel Corporation
|
|
|
|
|
2022-09-06 04:00:10 +00:00
|
|
|
if is_windows
|
|
|
|
build = false
|
|
|
|
reason = 'not supported on Windows'
|
|
|
|
subdir_done()
|
|
|
|
endif
|
|
|
|
|
|
|
|
sources = files(
|
|
|
|
'main.c',
|
|
|
|
'test_bbdev.c',
|
|
|
|
'test_bbdev_perf.c',
|
|
|
|
'test_bbdev_vector.c',
|
|
|
|
)
|
2019-06-25 11:12:58 +00:00
|
|
|
deps += ['bbdev', 'bus_vdev']
|
2021-02-05 08:48:47 +00:00
|
|
|
if dpdk_conf.has('RTE_BASEBAND_FPGA_LTE_FEC')
|
2022-09-06 04:00:10 +00:00
|
|
|
deps += ['baseband_fpga_lte_fec']
|
2021-02-05 08:48:47 +00:00
|
|
|
endif
|
|
|
|
if dpdk_conf.has('RTE_BASEBAND_FPGA_5GNR_FEC')
|
2022-09-06 04:00:10 +00:00
|
|
|
deps += ['baseband_fpga_5gnr_fec']
|
2021-02-05 08:48:47 +00:00
|
|
|
endif
|
2023-09-13 12:21:49 +00:00
|
|
|
if dpdk_conf.has('RTE_BASEBAND_ACC')
|
|
|
|
deps += ['baseband_acc']
|
2022-09-06 04:00:10 +00:00
|
|
|
endif
|
2024-10-17 10:26:34 +00:00
|
|
|
if dpdk_conf.has('RTE_BASEBAND_LA12XX')
|
2022-09-06 04:00:10 +00:00
|
|
|
deps += ['baseband_la12xx']
|
2020-06-18 16:55:50 +00:00
|
|
|
endif
|