X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcommon%2Fmlx5%2Fmeson.build;h=8e5608703e489e039e78d290b3755c987ec6fd49;hb=8a4a417d9f9db3f3f7b2e25685ffdaf63ac413bf;hp=0a8980f2d3462aeab342b9b33e6c22bd14c4fed1;hpb=59513c3e137b21d6dbebb289c7be58f3a3dbe9ee;p=dpdk.git diff --git a/drivers/common/mlx5/meson.build b/drivers/common/mlx5/meson.build index 0a8980f2d3..8e5608703e 100644 --- a/drivers/common/mlx5/meson.build +++ b/drivers/common/mlx5/meson.build @@ -1,20 +1,22 @@ # 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 -allow_experimental_apis = true - -deps += ['hash', 'pci', 'net', 'eal', 'kvargs'] +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', 'mlx5_common.c', 'mlx5_common_mp.c', 'mlx5_common_mr.c', + 'mlx5_malloc.c', + 'mlx5_common_pci.c', ) cflags_options = [