common/mlx5/linux: replace malloc and free in glue
[dpdk.git] / drivers / common / mlx5 / meson.build
index 9806865..3dacc6f 100644 (file)
@@ -1,21 +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
 
-allow_experimental_apis = true
-
-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_nl.c',
        'mlx5_common_mp.c',
        'mlx5_common_mr.c',
+       'mlx5_malloc.c',
+       'mlx5_common_pci.c',
 )
 
 cflags_options = [