app/eventdev: build with meson

Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
This commit is contained in:
Pavan Nikhilesh 2018-01-19 23:45:21 +05:30 committed by Bruce Richardson
parent bd77f2d64c
commit 2ff67267b0
2 changed files with 29 additions and 0 deletions

View File

@ -2,3 +2,4 @@
# Copyright(c) 2017 Intel Corporation
subdir('test-pmd')
subdir('test-eventdev')

View File

@ -0,0 +1,28 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Cavium, Inc
sources = files('evt_main.c',
'evt_options.c',
'evt_test.c',
'parser.c',
'test_order_common.c',
'test_order_atq.c',
'test_order_queue.c',
'test_perf_common.c',
'test_perf_atq.c',
'test_perf_queue.c')
dep_objs = [get_variable(get_option('default_library') + '_rte_eventdev')]
link_libs = []
if get_option('default_library') == 'static'
link_libs = dpdk_drivers
endif
executable('dpdk-test-eventdev',
sources,
c_args: [machine_arg, '-DALLOW_EXPERIMENTAL_API'],
link_whole: link_libs,
dependencies: dep_objs,
install_rpath: join_paths(get_option('prefix'), driver_install_path),
install: true)