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>
31 lines
621 B
Meson
31 lines
621 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2019 Intel Corporation
|
|
|
|
if is_windows
|
|
build = false
|
|
reason = 'not supported on Windows'
|
|
subdir_done()
|
|
endif
|
|
|
|
#
|
|
# Add the experimenatal APIs called from this PMD
|
|
# rte_eth_switch_domain_alloc()
|
|
# rte_eth_dev_create()
|
|
# rte_eth_dev_destroy()
|
|
# rte_eth_switch_domain_free()
|
|
#
|
|
|
|
if has_libfdt == 0
|
|
build = false
|
|
reason = 'missing dependency, "libfdt"'
|
|
subdir_done()
|
|
endif
|
|
|
|
includes += include_directories('../../raw/ifpga')
|
|
|
|
sources += files('ipn3ke_ethdev.c',
|
|
'ipn3ke_representor.c',
|
|
'ipn3ke_tm.c',
|
|
'ipn3ke_flow.c')
|
|
deps += ['bus_ifpga', 'ethdev', 'sched']
|