1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2019 Mellanox Technologies, Ltd
6 reason = 'only supported on Linux'
10 fmt_name = 'mlx5_vdpa'
11 deps += ['hash', 'common_mlx5', 'vhost', 'pci', 'eal', 'sched']
22 '-Wno-strict-prototypes',
27 foreach option:cflags_options
28 if cc.has_argument(option)
33 if get_option('buildtype').contains('debug')
34 cflags += [ '-pedantic', '-DPEDANTIC' ]
36 cflags += [ '-UPEDANTIC' ]