X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fnet%2Fnfp%2Fmeson.build;h=ba6a22e8b97cc0b799b4edda58017f0bbc150058;hb=8d01b9cd70a67cdafd5b965a70420c3bd7fb3f82;hp=3ba37e2799f937d9177249f00e9c876407a6090c;hpb=b63264c8342e6a1b6971c79550d2af2024b6a4de;p=deb_dpdk.git diff --git a/drivers/net/nfp/meson.build b/drivers/net/nfp/meson.build index 3ba37e27..ba6a22e8 100644 --- a/drivers/net/nfp/meson.build +++ b/drivers/net/nfp/meson.build @@ -1,6 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Intel Corporation +if host_machine.system() != 'linux' + build = false +endif sources = files('nfpcore/nfp_cpp_pcie_ops.c', 'nfpcore/nfp_nsp.c', 'nfpcore/nfp_cppcore.c', @@ -14,3 +17,5 @@ sources = files('nfpcore/nfp_cpp_pcie_ops.c', 'nfpcore/nfp_nsp_eth.c', 'nfpcore/nfp_hwinfo.c', 'nfp_net.c') + +allow_experimental_apis = true