2019-06-25 11:12:58 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright 2018 NXP
|
|
|
|
|
2020-06-18 16:55:50 +00:00
|
|
|
if not is_linux
|
|
|
|
build = false
|
2021-02-05 08:48:47 +00:00
|
|
|
reason = 'only supported on Linux'
|
2019-06-25 11:12:58 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
deps += ['mempool_dpaa2']
|
|
|
|
sources = files('base/dpaa2_hw_dpni.c',
|
2020-06-18 16:55:50 +00:00
|
|
|
'dpaa2_mux.c',
|
2019-06-25 11:12:58 +00:00
|
|
|
'dpaa2_ethdev.c',
|
2020-06-18 16:55:50 +00:00
|
|
|
'dpaa2_flow.c',
|
2019-06-25 11:12:58 +00:00
|
|
|
'dpaa2_rxtx.c',
|
2020-06-18 16:55:50 +00:00
|
|
|
'dpaa2_sparser.c',
|
2021-01-28 17:08:59 +00:00
|
|
|
'dpaa2_ptp.c',
|
|
|
|
'mc/dprtc.c',
|
2019-06-25 11:12:58 +00:00
|
|
|
'mc/dpkg.c',
|
2020-06-18 16:55:50 +00:00
|
|
|
'mc/dpdmux.c',
|
2019-06-25 11:12:58 +00:00
|
|
|
'mc/dpni.c')
|
|
|
|
|
|
|
|
includes += include_directories('base', 'mc')
|
|
|
|
|
2021-02-05 08:48:47 +00:00
|
|
|
headers = files('rte_pmd_dpaa2.h')
|