X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcommon%2Fmlx5%2Fmeson.build;h=b2efea4432dbbc475772fa18bf3c63f20cfa7a6b;hb=8a3ba482c6da492afad05d9defd33974fd2fd87b;hp=8e5608703e489e039e78d290b3755c987ec6fd49;hpb=8a41f4deccc39d3a86c3c91667bee993bfd3e39c;p=dpdk.git diff --git a/drivers/common/mlx5/meson.build b/drivers/common/mlx5/meson.build index 8e5608703e..b2efea4432 100644 --- a/drivers/common/mlx5/meson.build +++ b/drivers/common/mlx5/meson.build @@ -1,14 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2019 Mellanox Technologies, Ltd -if not is_linux +if not (is_linux or (is_windows and is_ms_linker)) build = false - reason = 'only supported on Linux' + reason = 'only supported on Linux and Windows build with clang' subdir_done() endif -config_flag_fmt = 'RTE_LIBRTE_@0@_COMMON' -driver_name_fmt = 'rte_common_@0@' deps += ['hash', 'pci', 'bus_pci', 'net', 'eal', 'kvargs'] sources += files( 'mlx5_devx_cmds.c', @@ -17,6 +15,7 @@ sources += files( 'mlx5_common_mr.c', 'mlx5_malloc.c', 'mlx5_common_pci.c', + 'mlx5_common_devx.c', ) cflags_options = [