acec04c4b2
Remove setting ALLOW_EXPERIMENTAL_API individually for each Makefile and meson.build. Instead, enable ALLOW_EXPERIMENTAL_API flag across app, lib and drivers. This changes reduces the clutter across the project while still maintaining the functionality of ALLOW_EXPERIMENTAL_API i.e. warning external applications about experimental API usage. Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com> Signed-off-by: David Marchand <david.marchand@redhat.com>
28 lines
538 B
Meson
28 lines
538 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright 2018 NXP
|
|
|
|
if not is_linux
|
|
build = false
|
|
reason = 'only supported on linux'
|
|
endif
|
|
|
|
deps += ['mempool_dpaa2']
|
|
sources = files('base/dpaa2_hw_dpni.c',
|
|
'dpaa2_mux.c',
|
|
'dpaa2_ethdev.c',
|
|
'dpaa2_flow.c',
|
|
'dpaa2_rxtx.c',
|
|
'dpaa2_sparser.c',
|
|
'mc/dpkg.c',
|
|
'mc/dpdmux.c',
|
|
'mc/dpni.c')
|
|
|
|
if dpdk_conf.has('RTE_LIBRTE_IEEE1588')
|
|
sources += files('mc/dprtc.c')
|
|
sources += files('dpaa2_ptp.c')
|
|
endif
|
|
|
|
includes += include_directories('base', 'mc')
|
|
|
|
install_headers('rte_pmd_dpaa2.h')
|