diff options
Diffstat (limited to 'drivers/net/nfp/meson.build')
-rw-r--r-- | drivers/net/nfp/meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
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 |