a3471403e247747f575afa9907788c7bc1d0d295
[dpdk.git] / drivers / bus / dpaa / 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 += ['common_dpaax', 'eventdev']
10 sources = files('base/fman/fman.c',
11                 'base/fman/fman_hw.c',
12                 'base/fman/netcfg_layer.c',
13                 'base/qbman/bman.c',
14                 'base/qbman/bman_driver.c',
15                 'base/qbman/dpaa_alloc.c',
16                 'base/qbman/dpaa_sys.c',
17                 'base/qbman/process.c',
18                 'base/qbman/qman.c',
19                 'base/qbman/qman_driver.c',
20                 'dpaa_bus.c')
21
22 if cc.has_argument('-Wno-cast-qual')
23         cflags += '-Wno-cast-qual'
24 endif
25 if cc.has_argument('-Wno-pointer-arith')
26         cflags += '-Wno-pointer-arith'
27 endif
28
29 includes += include_directories('include', 'base/qbman')