build: disable experimental API check internally
[dpdk.git] / drivers / net / nfp / meson.build
index ba6a22e..24a9a6d 100644 (file)
@@ -1,8 +1,9 @@
 # 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',
@@ -17,5 +18,3 @@ sources = files('nfpcore/nfp_cpp_pcie_ops.c',
        'nfpcore/nfp_nsp_eth.c',
        'nfpcore/nfp_hwinfo.c',
        'nfp_net.c')
-
-allow_experimental_apis = true