mirror of https://github.com/F-Stack/f-stack.git
24 lines
611 B
Meson
24 lines
611 B
Meson
|
# SPDX-License-Identifier: BSD-3-Clause
|
||
|
# Copyright(C) 2019 Marvell International Ltd.
|
||
|
#
|
||
|
|
||
|
# meson file, for building this example as part of a main DPDK build.
|
||
|
#
|
||
|
# To build this example as a standalone application with an already-installed
|
||
|
# DPDK instance, use 'make'
|
||
|
|
||
|
deps += 'eventdev'
|
||
|
sources = files(
|
||
|
'main.c',
|
||
|
'l2fwd_poll.c',
|
||
|
'l2fwd_common.c',
|
||
|
'l2fwd_event.c',
|
||
|
'l2fwd_event_internal_port.c',
|
||
|
'l2fwd_event_generic.c'
|
||
|
)
|
||
|
|
||
|
# for clang 32-bit compiles we need libatomic for 64-bit atomic ops
|
||
|
if cc.get_id() == 'clang' and dpdk_conf.get('RTE_ARCH_64') == false
|
||
|
ext_deps += cc.find_library('atomic')
|
||
|
endif
|