numam-dpdk/drivers/net/qede/meson.build
Pallavi Kadam b9d60b5434 drivers/net: build i40e and mlx5 on Windows
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>
2021-01-14 23:51:24 +01:00

26 lines
442 B
Meson

# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
if is_windows
build = false
reason = 'not supported on Windows'
subdir_done()
endif
subdir('base')
objs = [base_objs]
sources = files(
'qede_ethdev.c',
'qede_filter.c',
'qede_main.c',
'qede_rxtx.c',
'qede_debug.c',
'qede_regs.c',
'qede_sriov.c',
)
if cc.has_argument('-Wno-format-nonliteral')
cflags += '-Wno-format-nonliteral'
endif