f-stack/dpdk/drivers/net/dpaa2/meson.build

31 lines
621 B
Meson
Raw Normal View History

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
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',
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')
2020-06-18 16:55:50 +00:00
if dpdk_conf.has('RTE_LIBRTE_IEEE1588')
sources += files('mc/dprtc.c')
sources += files('dpaa2_ptp.c')
endif
2019-06-25 11:12:58 +00:00
includes += include_directories('base', 'mc')
# depends on fslmc bus which uses experimental API
allow_experimental_apis = true
2020-06-18 16:55:50 +00:00
install_headers('rte_pmd_dpaa2.h')