2018-03-14 07:56:05 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright 2018 NXP
|
|
|
|
|
2019-04-09 10:55:36 +00:00
|
|
|
if not is_linux
|
2019-06-05 20:22:41 +00:00
|
|
|
build = false
|
|
|
|
reason = 'only supported on linux'
|
2018-03-14 07:56:05 +00:00
|
|
|
endif
|
|
|
|
|
2018-03-29 13:54:36 +00:00
|
|
|
deps += ['mempool_dpaa2']
|
2018-03-14 07:56:05 +00:00
|
|
|
sources = files('base/dpaa2_hw_dpni.c',
|
2019-01-11 12:24:55 +00:00
|
|
|
'dpaa2_mux.c',
|
2018-03-14 07:56:05 +00:00
|
|
|
'dpaa2_ethdev.c',
|
2019-02-22 11:16:05 +00:00
|
|
|
'dpaa2_flow.c',
|
2018-03-14 07:56:05 +00:00
|
|
|
'dpaa2_rxtx.c',
|
2019-08-29 10:27:37 +00:00
|
|
|
'dpaa2_sparser.c',
|
2018-03-14 07:56:05 +00:00
|
|
|
'mc/dpkg.c',
|
2019-01-11 12:24:49 +00:00
|
|
|
'mc/dpdmux.c',
|
2018-03-14 07:56:05 +00:00
|
|
|
'mc/dpni.c')
|
|
|
|
|
2019-08-29 10:27:30 +00:00
|
|
|
if dpdk_conf.has('RTE_LIBRTE_IEEE1588')
|
|
|
|
sources += files('mc/dprtc.c')
|
2019-08-29 10:27:31 +00:00
|
|
|
sources += files('dpaa2_ptp.c')
|
2019-08-29 10:27:30 +00:00
|
|
|
endif
|
|
|
|
|
2018-03-14 07:56:05 +00:00
|
|
|
includes += include_directories('base', 'mc')
|
2018-04-11 12:30:13 +00:00
|
|
|
|
2019-01-11 12:24:30 +00:00
|
|
|
install_headers('rte_pmd_dpaa2.h')
|