git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common/cnxk: add null authentication with IPsec
[dpdk.git]
/
drivers
/
common
/
dpaax
/
meson.build
diff --git
a/drivers/common/dpaax/meson.build
b/drivers/common/dpaax/meson.build
index
98a1bdd
..
a162779
100644
(file)
--- a/
drivers/common/dpaax/meson.build
+++ b/
drivers/common/dpaax/meson.build
@@
-1,12
+1,18
@@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 NXP
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 NXP
-allow_experimental_apis = true
-
-if host_machine.system() != 'linux'
- build = false
+if not is_linux
+ build = false
+ reason = 'only supported on Linux'
endif
endif
-sources = files('dpaax_iova_table.c')
+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