]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/nfp/meson.build
build: disable experimental API check internally
[dpdk.git] / drivers / net / nfp / meson.build
index ba6a22e8b97cc0b799b4edda58017f0bbc150058..24a9a6da9c850dc15b871b0c7dfcb87f1c98acb7 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