X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fnfp%2Fmeson.build;h=24a9a6da9c850dc15b871b0c7dfcb87f1c98acb7;hb=73cd23dd87e9a870421f260fa61a8fe2741a50ba;hp=ba6a22e8b97cc0b799b4edda58017f0bbc150058;hpb=388022d5d09416f1bef27e1704a59c8047a1f5a6;p=dpdk.git diff --git a/drivers/net/nfp/meson.build b/drivers/net/nfp/meson.build index ba6a22e8b9..24a9a6da9c 100644 --- a/drivers/net/nfp/meson.build +++ b/drivers/net/nfp/meson.build @@ -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