net/bnxt: fail init when mbuf allocation fails
[dpdk.git] / drivers / net / failsafe / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Intel Corporation
3
4 if is_windows
5     build = false
6     reason = 'not supported on Windows'
7     subdir_done()
8 endif
9
10 cflags += '-std=gnu99'
11 cflags += '-D_DEFAULT_SOURCE'
12 cflags += '-D_XOPEN_SOURCE=700'
13 cflags += '-pedantic'
14 if is_linux
15     cflags += '-DLINUX'
16 else
17     cflags += '-DBSD'
18 endif
19
20 sources = files(
21         'failsafe.c',
22         'failsafe_args.c',
23         'failsafe_eal.c',
24         'failsafe_ether.c',
25         'failsafe_flow.c',
26         'failsafe_intr.c',
27         'failsafe_ops.c',
28         'failsafe_rxtx.c',
29 )