X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcommon%2Fmlx5%2Fmeson.build;h=3dacc6f68347fac1a9c50d26b54a41a2a4bf398f;hb=cdb034a8c151d4d1d05514b84a5c289068b20b90;hp=ba43714af36f822e7e2c284f28b64a4aae098e07;hpb=a28e714618ee933906a607f790c49df826e395c7;p=dpdk.git diff --git a/drivers/common/mlx5/meson.build b/drivers/common/mlx5/meson.build index ba43714af3..3dacc6f683 100644 --- a/drivers/common/mlx5/meson.build +++ b/drivers/common/mlx5/meson.build @@ -1,18 +1,21 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2019 Mellanox Technologies, Ltd -if not (is_linux or is_windows) +if not is_linux build = false - reason = 'only supported on Linux and Windows' + reason = 'only supported on Linux' subdir_done() endif -deps += ['hash', 'pci', 'net', 'eal', 'kvargs'] +config_flag_fmt = 'RTE_LIBRTE_@0@_COMMON' +deps += ['hash', 'pci', 'bus_pci', 'net', 'eal', 'kvargs'] sources += files( 'mlx5_devx_cmds.c', 'mlx5_common.c', 'mlx5_common_mp.c', 'mlx5_common_mr.c', + 'mlx5_malloc.c', + 'mlx5_common_pci.c', ) cflags_options = [