common/mlx5: add compress primitives
[dpdk.git] / drivers / common / mlx5 / meson.build
index 8e56087..b2efea4 100644 (file)
@@ -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 = [