net/virtio: fix incorrect cast of void *
[dpdk.git] / 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(
11         'base/fman/fman.c',
12         'base/fman/fman_hw.c',
13         'base/fman/netcfg_layer.c',
14         'base/qbman/bman.c',
15         'base/qbman/bman_driver.c',
16         'base/qbman/dpaa_alloc.c',
17         'base/qbman/dpaa_sys.c',
18         'base/qbman/process.c',
19         'base/qbman/qman.c',
20         'base/qbman/qman_driver.c',
21         'dpaa_bus.c',
22 )
23
24 if cc.has_argument('-Wno-cast-qual')
25     cflags += '-Wno-cast-qual'
26 endif
27 if cc.has_argument('-Wno-pointer-arith')
28     cflags += '-Wno-pointer-arith'
29 endif
30
31 includes += include_directories('include', 'base/qbman')