New upstream version 18.02
[deb_dpdk.git] / drivers / net / thunderx / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Cavium, Inc
3
4 subdir('base')
5 objs = [base_objs]
6
7 sources = files('nicvf_rxtx.c',
8                 'nicvf_ethdev.c',
9                 'nicvf_svf.c'
10 )
11
12 if cc.has_argument('-fno-prefetch-loop-arrays')
13         cflags += '-fno-prefetch-loop-arrays'
14 endif
15
16 if cc.has_argument('-Wno-maybe-uninitialized')
17         cflags += '-Wno-maybe-uninitialized'
18 endif
19
20 includes += include_directories('base')