summaryrefslogtreecommitdiffstats
path: root/src/seastar/dpdk/drivers/net/ice/base/meson.build
blob: 624202567c62ae871791dc435ff086257f1eccc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation

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',
]

error_cflags = ['-Wno-unused-value',
		'-Wno-unused-but-set-variable',
		'-Wno-unused-variable',
]
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()