]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | # SPDX-License-Identifier: BSD-3-Clause |
2 | # Copyright(c) 2017 Cavium, Inc | |
3 | ||
4 | sources = [ | |
5 | 'nicvf_hw.c', | |
6 | 'nicvf_mbox.c', | |
7 | 'nicvf_bsvf.c' | |
8 | ] | |
9 | ||
9f95a23c TL |
10 | c_args = cflags |
11 | if allow_experimental_apis | |
12 | c_args += '-DALLOW_EXPERIMENTAL_API' | |
13 | endif | |
11fdf7f2 | 14 | base_lib = static_library('nicvf_base', sources, |
9f95a23c | 15 | c_args: c_args, |
11fdf7f2 TL |
16 | dependencies: static_rte_ethdev |
17 | ) | |
18 | ||
19 | base_objs = base_lib.extract_all_objects() |