xref: /dpdk/drivers/net/thunderx/meson.build (revision b19f366c)
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(
14        'nicvf_ethdev.c',
15        'nicvf_rxtx.c',
16        'nicvf_svf.c',
17)
18
19if cc.has_argument('-fno-prefetch-loop-arrays')
20    cflags += '-fno-prefetch-loop-arrays'
21endif
22
23if cc.has_argument('-Wno-maybe-uninitialized')
24    cflags += '-Wno-maybe-uninitialized'
25endif
26
27includes += include_directories('base')
28