xref: /dpdk/drivers/net/octeontx/base/meson.build (revision 68a03efeed657e6e05f281479b33b51102797e15)
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2017 Cavium, Inc
3
4sources = [
5	'octeontx_pkovf.c',
6	'octeontx_pkivf.c',
7	'octeontx_bgx.c'
8]
9
10depends = ['ethdev', 'mempool_octeontx']
11static_objs = []
12foreach d: depends
13	if not is_variable('shared_rte_' + d)
14		subdir_done()
15	endif
16	static_objs += get_variable('static_rte_' + d)
17endforeach
18
19c_args = cflags
20base_lib = static_library('octeontx_base', sources,
21	c_args: c_args,
22	dependencies: static_objs,
23)
24
25base_objs = base_lib.extract_all_objects()
26