f-stack/dpdk/drivers/net/ice/base/meson.build

35 lines
649 B
Meson
Raw Normal View History

2020-06-18 16:55:50 +00:00
# SPDX-License-Identifier: BSD-3-Clause
2021-01-28 17:08:59 +00:00
# Copyright(c) 2018-2020 Intel Corporation
2020-06-18 16:55:50 +00:00
sources = [
'ice_controlq.c',
'ice_common.c',
'ice_sched.c',
'ice_switch.c',
'ice_nvm.c',
'ice_flex_pipe.c',
'ice_flow.c',
'ice_dcb.c',
'ice_fdir.c',
2021-02-05 08:48:47 +00:00
'ice_acl.c',
'ice_acl_ctrl.c',
2020-06-18 16:55:50 +00:00
]
error_cflags = ['-Wno-unused-value',
'-Wno-unused-but-set-variable',
'-Wno-unused-variable',
'-Wno-unused-parameter',
]
c_args = cflags
foreach flag: error_cflags
if cc.has_argument(flag)
c_args += flag
endif
endforeach
base_lib = static_library('ice_base', sources,
dependencies: static_rte_eal,
c_args: c_args)
base_objs = base_lib.extract_all_objects()