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>
26 lines
442 B
Meson
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
|