]>
Commit | Line | Data |
---|---|---|
11fdf7f2 | 1 | # SPDX-License-Identifier: BSD-3-Clause |
f67539c2 | 2 | # Copyright(c) 2017-2020 Intel Corporation |
11fdf7f2 TL |
3 | |
4 | sources = [ | |
5 | 'ixgbe_82598.c', | |
6 | 'ixgbe_82599.c', | |
7 | 'ixgbe_api.c', | |
8 | 'ixgbe_common.c', | |
9 | 'ixgbe_dcb_82598.c', | |
10 | 'ixgbe_dcb_82599.c', | |
11 | 'ixgbe_dcb.c', | |
12 | 'ixgbe_hv_vf.c', | |
13 | 'ixgbe_mbx.c', | |
14 | 'ixgbe_phy.c', | |
15 | 'ixgbe_vf.c', | |
16 | 'ixgbe_x540.c', | |
17 | 'ixgbe_x550.c' | |
18 | ] | |
19 | ||
20 | error_cflags = ['-Wno-unused-value', | |
f67539c2 TL |
21 | '-Wno-unused-but-set-variable', |
22 | '-Wno-unused-parameter', | |
23 | ] | |
11fdf7f2 TL |
24 | c_args = cflags |
25 | foreach flag: error_cflags | |
26 | if cc.has_argument(flag) | |
27 | c_args += flag | |
28 | endif | |
29 | endforeach | |
30 | ||
31 | base_lib = static_library('ixgbe_base', sources, | |
32 | dependencies: static_rte_eal, | |
33 | c_args: c_args) | |
34 | base_objs = base_lib.extract_all_objects() |