mirror of https://github.com/F-Stack/f-stack.git
20 lines
401 B
Meson
20 lines
401 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2018 NXP
|
|
|
|
allow_experimental_apis = true
|
|
|
|
if not is_linux
|
|
build = false
|
|
reason = 'only supported on linux'
|
|
endif
|
|
|
|
sources = files('dpaax_iova_table.c', 'dpaa_of.c')
|
|
|
|
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
|