build: disable experimental API check internally
[dpdk.git] / drivers / net / dpaa2 / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2018 NXP
3
4 if not is_linux
5         build = false
6         reason = 'only supported on linux'
7 endif
8
9 deps += ['mempool_dpaa2']
10 sources = files('base/dpaa2_hw_dpni.c',
11                 'dpaa2_mux.c',
12                 'dpaa2_ethdev.c',
13                 'dpaa2_flow.c',
14                 'dpaa2_rxtx.c',
15                 'dpaa2_sparser.c',
16                 'mc/dpkg.c',
17                 'mc/dpdmux.c',
18                 'mc/dpni.c')
19
20 if dpdk_conf.has('RTE_LIBRTE_IEEE1588')
21         sources += files('mc/dprtc.c')
22         sources += files('dpaa2_ptp.c')
23 endif
24
25 includes += include_directories('base', 'mc')
26
27 install_headers('rte_pmd_dpaa2.h')