xref: /dpdk/drivers/net/thunderx/meson.build (revision 68a03efeed657e6e05f281479b33b51102797e15)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2017 Cavium, Inc
3
4if is_windows
5	build = false
6	reason = 'not supported on Windows'
7	subdir_done()
8endif
9
10subdir('base')
11objs = [base_objs]
12
13sources = files('nicvf_rxtx.c',
14		'nicvf_ethdev.c',
15		'nicvf_svf.c'
16)
17
18if cc.has_argument('-fno-prefetch-loop-arrays')
19	cflags += '-fno-prefetch-loop-arrays'
20endif
21
22if cc.has_argument('-Wno-maybe-uninitialized')
23	cflags += '-Wno-maybe-uninitialized'
24endif
25
26includes += include_directories('base')
27