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 allow_experimental_apis = true
12 deps += ['hash', 'common_mlx5', 'vhost', 'pci', 'bus_pci', 'eal', 'sched']
23 '-Wno-strict-prototypes',
28 foreach option:cflags_options
29 if cc.has_argument(option)
34 if get_option('buildtype').contains('debug')
35 cflags += [ '-pedantic', '-DPEDANTIC' ]
37 cflags += [ '-UPEDANTIC' ]