1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Luca Boccassi <bluca@debian.org>
10 'ecore_init_fw_funcs.c',
15 'ecore_sp_commands.c',
23 '-Wno-unused-parameter',
25 '-Wno-missing-prototypes',
27 '-Wno-unused-function',
28 '-Wno-unused-variable',
29 '-Wno-strict-aliasing',
30 '-Wno-missing-prototypes',
32 '-Wno-format-nonliteral',
33 '-Wno-shift-negative-value',
34 '-Wno-unused-but-set-variable',
35 '-Wno-missing-declarations',
36 '-Wno-maybe-uninitialized',
37 '-Wno-strict-prototypes',
38 '-Wno-shift-negative-value',
39 '-Wno-implicit-fallthrough',
40 '-Wno-format-extra-args',
43 '-Wno-invalid-source-encoding',
44 '-Wno-sometimes-uninitialized',
45 '-Wno-pointer-bool-conversion',
48 foreach flag: error_cflags
49 if cc.has_argument(flag)
54 base_lib = static_library('qede_base', sources,
55 dependencies: [static_rte_net, static_rte_bus_pci],
57 base_objs = base_lib.extract_all_objects()