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