abb98ed0b3
The variable fmt_name has been removed from DPDK 21.02-rc1. Then some drivers were integrated in the same year with this variable. Of course it has no effect, so it is cleaned up. Fixes:832a4cf1d1
("compress/mlx5: introduce PMD") Fixes:a7c86884f1
("crypto/mlx5: introduce Mellanox crypto driver") Fixes:5e7596ba7c
("vdpa/sfc: introduce Xilinx vDPA driver") Cc: stable@dpdk.org Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
31 lines
668 B
Meson
31 lines
668 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright 2021 Mellanox Technologies, Ltd
|
|
|
|
if not is_linux
|
|
build = false
|
|
reason = 'only supported on Linux'
|
|
subdir_done()
|
|
endif
|
|
|
|
deps += ['common_mlx5', 'eal', 'compressdev']
|
|
if not dpdk_conf.has('RTE_COMMON_MLX5')
|
|
# avoid referencing undefined variables from common/mlx5
|
|
subdir_done()
|
|
endif
|
|
|
|
sources = files(
|
|
'mlx5_compress.c',
|
|
)
|
|
cflags_options = [
|
|
'-std=c11',
|
|
'-Wno-strict-prototypes',
|
|
'-D_BSD_SOURCE',
|
|
'-D_DEFAULT_SOURCE',
|
|
'-D_XOPEN_SOURCE=600',
|
|
]
|
|
foreach option:cflags_options
|
|
if cc.has_argument(option)
|
|
cflags += option
|
|
endif
|
|
endforeach
|