build: replace license text with SPDX tag
[dpdk.git] / drivers / net / ixgbe / base / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
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',
21                 '-Wno-unused-but-set-variable']
22 c_args = cflags
23 foreach flag: error_cflags
24         if cc.has_argument(flag)
25                 c_args += flag
26         endif
27 endforeach
28
29 base_lib = static_library('ixgbe_base', sources,
30         dependencies: static_rte_eal,
31         c_args: c_args)
32 base_objs = base_lib.extract_all_objects()