b9d60b5434
Allows i40e and mlx5 PMDs to compile on Windows and disable other drivers. Disable few i40e warnings with Clang such as comparison of integers of different signs and macro redefinitions. Signed-off-by: Pallavi Kadam <pallavi.kadam@intel.com> Reviewed-by: Ranjit Menon <ranjit.menon@intel.com> Acked-by: Tal Shnaiderman <talshn@nvidia.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
15 lines
366 B
Meson
15 lines
366 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2018 Intel Corporation
|
|
|
|
if is_windows
|
|
build = false
|
|
reason = 'not supported on Windows'
|
|
subdir_done()
|
|
endif
|
|
|
|
# this driver can be built if-and-only-if KNI library is buildable
|
|
build = dpdk_conf.has('RTE_LIB_KNI')
|
|
reason = 'missing dependency, DPDK KNI library'
|
|
sources = files('rte_eth_kni.c')
|
|
deps += 'kni'
|