/
phprus
/
github_dpdk
Обзор
Документация
Войти
/
phprus
/
github_dpdk
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
examples/ntb/meson.build
26 строк
677 B
Bruce Richardson
examples/ntb: generate cmdline boilerplate
10 ноя 2023, 17:17
10 ноя 2023, 17:17
fa6a754
Код
Авторство
О чём код?
# SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2019 Intel Corporation # 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' allow_experimental_apis = true if not is_linux build = false subdir_done() endif deps += ['rawdev', 'raw_ntb'] cflags += ['-D_FILE_OFFSET_BITS=64'] sources = files( 'ntb_fwd.c', ) cmd_h = custom_target('commands_hdr', output: 'commands.h', input: files('commands.list'), capture: true, command: [cmdline_gen_cmd, '--context-name=main_ctx', '@INPUT@'] ) sources += cmd_h