common/cnxk: check BPHY IRQ availability
[dpdk.git] / drivers / common / dpaax / meson.build
index a315e77..a162779 100644 (file)
@@ -1,13 +1,18 @@
 # 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'
+    build = false
+    reason = 'only supported on Linux'
 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