net/sfc: support driver-wide dynamic logging
[dpdk.git] / drivers / net / fm10k / base / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2017 Intel Corporation
3
4 sources = [
5         'fm10k_api.c',
6         'fm10k_common.c',
7         'fm10k_mbx.c',
8         'fm10k_pf.c',
9         'fm10k_tlv.c',
10         'fm10k_vf.c'
11 ]
12
13 error_cflags = ['-Wno-unused-parameter', '-Wno-unused-value',
14         '-Wno-strict-aliasing', '-Wno-format-extra-args',
15         '-Wno-unused-variable', '-Wno-missing-field-initializers'
16 ]
17 c_args = cflags
18 foreach flag: error_cflags
19         if cc.has_argument(flag)
20                 c_args += flag
21         endif
22 endforeach
23
24 base_lib = static_library('fm10k_base', sources,
25         dependencies: static_rte_eal,
26         c_args: c_args)
27 base_objs = base_lib.extract_all_objects()