summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/drivers/common/dpaax/meson.build
blob: 0b8bf7bd51c8809b930c6b8f2a3155fbaacb368b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 NXP

if not is_linux
	build = false
	reason = 'only supported on linux'
endif

sources = files('dpaax_iova_table.c', 'dpaa_of.c', 'caamflib.c')

includes += include_directories('caamflib')

cflags += ['-D_GNU_SOURCE']
if cc.has_argument('-Wno-cast-qual')
	cflags += '-Wno-cast-qual'
endif
if cc.has_argument('-Wno-pointer-arith')
	cflags += '-Wno-pointer-arith'
endif