numam-dpdk/drivers/net/ixgbe/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

40 lines
719 B
Meson

# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
if is_windows
build = false
reason = 'not supported on Windows'
subdir_done()
endif
cflags += ['-DRTE_LIBRTE_IXGBE_BYPASS']
subdir('base')
objs = [base_objs]
sources = files(
'ixgbe_82599_bypass.c',
'ixgbe_bypass.c',
'ixgbe_ethdev.c',
'ixgbe_fdir.c',
'ixgbe_flow.c',
'ixgbe_ipsec.c',
'ixgbe_pf.c',
'ixgbe_rxtx.c',
'ixgbe_tm.c',
'ixgbe_vf_representor.c',
'rte_pmd_ixgbe.c'
)
deps += ['hash', 'security']
if arch_subdir == 'x86'
sources += files('ixgbe_rxtx_vec_sse.c')
elif arch_subdir == 'arm'
sources += files('ixgbe_rxtx_vec_neon.c')
endif
includes += include_directories('base')
headers = files('rte_pmd_ixgbe.h')