2019-06-25 11:12:58 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2022-09-06 04:00:10 +00:00
|
|
|
# Copyright 2018-2021 NXP
|
2019-06-25 11:12:58 +00:00
|
|
|
|
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'
|
2019-06-25 11:12:58 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
deps += ['mempool_dpaa2']
|
2022-09-06 04:00:10 +00:00
|
|
|
sources = files(
|
|
|
|
'base/dpaa2_hw_dpni.c',
|
|
|
|
'base/dpaa2_tlu_hash.c',
|
|
|
|
'dpaa2_tm.c',
|
|
|
|
'dpaa2_mux.c',
|
|
|
|
'dpaa2_ethdev.c',
|
|
|
|
'dpaa2_flow.c',
|
|
|
|
'dpaa2_rxtx.c',
|
|
|
|
'dpaa2_sparser.c',
|
|
|
|
'dpaa2_ptp.c',
|
|
|
|
'mc/dprtc.c',
|
|
|
|
'mc/dpkg.c',
|
|
|
|
'mc/dpdmux.c',
|
|
|
|
'mc/dpni.c',
|
|
|
|
)
|
2019-06-25 11:12:58 +00:00
|
|
|
|
|
|
|
includes += include_directories('base', 'mc')
|
|
|
|
|
2021-02-05 08:48:47 +00:00
|
|
|
headers = files('rte_pmd_dpaa2.h')
|