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