net/nfp: remove unused message length
[dpdk.git] / drivers / net / nfp / meson.build
index ba6a22e..810f02a 100644 (file)
@@ -1,21 +1,26 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Intel Corporation
 
-if host_machine.system() != 'linux'
-        build = false
+if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
+    build = false
+    reason = 'only supported on 64-bit Linux'
 endif
-sources = files('nfpcore/nfp_cpp_pcie_ops.c',
-       'nfpcore/nfp_nsp.c',
-       'nfpcore/nfp_cppcore.c',
-       'nfpcore/nfp_resource.c',
-       'nfpcore/nfp_mip.c',
-       'nfpcore/nfp_nffw.c',
-       'nfpcore/nfp_rtsym.c',
-       'nfpcore/nfp_nsp_cmds.c',
-       'nfpcore/nfp_crc.c',
-       'nfpcore/nfp_mutex.c',
-       'nfpcore/nfp_nsp_eth.c',
-       'nfpcore/nfp_hwinfo.c',
-       'nfp_net.c')
-
-allow_experimental_apis = true
+sources = files(
+        'nfpcore/nfp_cpp_pcie_ops.c',
+        'nfpcore/nfp_nsp.c',
+        'nfpcore/nfp_cppcore.c',
+        'nfpcore/nfp_resource.c',
+        'nfpcore/nfp_mip.c',
+        'nfpcore/nfp_nffw.c',
+        'nfpcore/nfp_rtsym.c',
+        'nfpcore/nfp_nsp_cmds.c',
+        'nfpcore/nfp_crc.c',
+        'nfpcore/nfp_mutex.c',
+        'nfpcore/nfp_nsp_eth.c',
+        'nfpcore/nfp_hwinfo.c',
+        'nfp_common.c',
+        'nfp_rxtx.c',
+        'nfp_cpp_bridge.c',
+        'nfp_ethdev_vf.c',
+        'nfp_ethdev.c',
+)