1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright 2019 Mellanox Technologies, Ltd
6 reason = 'only supported on Linux'
10 config_flag_fmt = 'RTE_LIBRTE_@0@_COMMON'
11 driver_name_fmt = 'rte_common_@0@'
12 deps += ['hash', 'pci', 'bus_pci', 'net', 'eal', 'kvargs']
24 '-Wno-strict-prototypes',
29 foreach option:cflags_options
30 if cc.has_argument(option)
34 if get_option('buildtype').contains('debug')
35 cflags += [ '-pedantic', '-DPEDANTIC' ]
37 cflags += [ '-UPEDANTIC' ]