net/thunderx: use new API to save cycles on aarch64
[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 allow_experimental_apis = true
8 sources = files('nicvf_rxtx.c',
9                 'nicvf_ethdev.c',
10                 'nicvf_svf.c'
11 )
12
13 if cc.has_argument('-fno-prefetch-loop-arrays')
14         cflags += '-fno-prefetch-loop-arrays'
15 endif
16
17 if cc.has_argument('-Wno-maybe-uninitialized')
18         cflags += '-Wno-maybe-uninitialized'
19 endif
20
21 includes += include_directories('base')