2017-12-18 15:56:25 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2017 Intel Corporation
|
2017-10-17 12:43:57 +00:00
|
|
|
|
2019-04-09 10:55:36 +00:00
|
|
|
if is_linux
|
2021-04-20 10:22:24 +00:00
|
|
|
cflags += '-DLINUX'
|
2018-07-02 09:11:13 +00:00
|
|
|
else
|
2021-04-20 10:22:24 +00:00
|
|
|
cflags += '-DBSD'
|
2018-07-02 09:11:13 +00:00
|
|
|
endif
|
|
|
|
|
2021-04-20 10:22:24 +00:00
|
|
|
sources = files(
|
|
|
|
'rte_eventdev.c',
|
|
|
|
'rte_event_ring.c',
|
|
|
|
'eventdev_trace_points.c',
|
|
|
|
'rte_event_eth_rx_adapter.c',
|
|
|
|
'rte_event_timer_adapter.c',
|
|
|
|
'rte_event_crypto_adapter.c',
|
|
|
|
'rte_event_eth_tx_adapter.c',
|
|
|
|
)
|
|
|
|
headers = files(
|
|
|
|
'rte_eventdev.h',
|
|
|
|
'rte_eventdev_trace.h',
|
|
|
|
'rte_eventdev_trace_fp.h',
|
|
|
|
'rte_event_ring.h',
|
|
|
|
'rte_event_eth_rx_adapter.h',
|
|
|
|
'rte_event_timer_adapter.h',
|
|
|
|
'rte_event_timer_adapter_pmd.h',
|
|
|
|
'rte_event_crypto_adapter.h',
|
|
|
|
'rte_event_eth_tx_adapter.h',
|
|
|
|
)
|
2018-05-09 08:17:58 +00:00
|
|
|
deps += ['ring', 'ethdev', 'hash', 'mempool', 'mbuf', 'timer', 'cryptodev']
|
2020-09-18 17:39:22 +00:00
|
|
|
deps += ['telemetry']
|