net/ice: refine debug build option
[dpdk.git] / drivers / net / dpaa / meson.build
index a4c40a6..0f72730 100644 (file)
@@ -1,14 +1,21 @@
 # SPDX-License-Identifier: BSD-3-Clause
-# Copyright 2018 NXP
+# Copyright 2018-2020 NXP
 
-if host_machine.system() != 'linux'
+if not is_linux
        build = false
+       reason = 'only supported on Linux'
 endif
-deps += ['bus_dpaa', 'mempool_dpaa']
+deps += ['mempool_dpaa']
 
 sources = files('dpaa_ethdev.c',
-               'dpaa_rxtx.c')
+               'fmlib/fm_lib.c',
+               'fmlib/fm_vsp.c',
+               'dpaa_flow.c',
+               'dpaa_rxtx.c',
+               'dpaa_fmc.c')
 
-allow_experimental_apis = true
+if cc.has_argument('-Wno-pointer-arith')
+       cflags += '-Wno-pointer-arith'
+endif
 
-install_headers('rte_pmd_dpaa.h')
+headers = files('rte_pmd_dpaa.h')