New upstream version 18.08
[deb_dpdk.git] / drivers / bus / fslmc / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2018 NXP
3
4 if host_machine.system() != 'linux'
5         build = false
6 endif
7
8 deps += ['eventdev', 'kvargs']
9 sources = files('fslmc_bus.c',
10                 'fslmc_vfio.c',
11                 'mc/dpbp.c',
12                 'mc/dpci.c',
13                 'mc/dpcon.c',
14                 'mc/dpdmai.c',
15                 'mc/dpio.c',
16                 'mc/dpmng.c',
17                 'mc/mc_sys.c',
18                 'portal/dpaa2_hw_dpbp.c',
19                 'portal/dpaa2_hw_dpci.c',
20                 'portal/dpaa2_hw_dpio.c',
21                 'qbman/qbman_portal.c',
22                 'qbman/qbman_debug.c')
23
24 allow_experimental_apis = true
25
26 includes += include_directories('mc', 'qbman/include', 'portal')
27 cflags += ['-D_GNU_SOURCE']