net/sfc/base: fix a typo in unicast filter insertion comment
[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 if allow_experimental_apis
24         c_args += '-DALLOW_EXPERIMENTAL_API'
25 endif
26 foreach flag: error_cflags
27         if cc.has_argument(flag)
28                 c_args += flag
29         endif
30 endforeach
31
32 base_lib = static_library('ixgbe_base', sources,
33         dependencies: static_rte_eal,
34         c_args: c_args)
35 base_objs = base_lib.extract_all_objects()