]> git.droids-corp.org - dpdk.git/blobdiff - drivers/common/dpaax/meson.build
net/mlx5: fix layer type in header modify action
[dpdk.git] / drivers / common / dpaax / meson.build
index 78378e2a691306d06881885284bc80b4a997b4f1..d41bb50732b77d586e287c2069e6de4c9c899e1b 100644 (file)
@@ -4,9 +4,16 @@
 allow_experimental_apis = true
 
 if not is_linux
-        build = false
+       build = false
+       reason = 'only supported on linux'
 endif
 
-sources = files('dpaax_iova_table.c')
+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