From 32c97c80f2e383269de340efa2b622f24131aa82 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Tue, 22 Oct 2019 16:43:08 +0100 Subject: [PATCH] examples/server_node_efd: add server binary to meson build When adding to the build, add in two missing includes that prevented build on freebsd, rather than just duplicating the makefile restriction. Signed-off-by: Bruce Richardson Acked-by: Luca Boccassi --- examples/meson.build | 1 + examples/server_node_efd/server/main.c | 2 ++ examples/server_node_efd/server/meson.build | 13 +++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 examples/server_node_efd/server/meson.build diff --git a/examples/meson.build b/examples/meson.build index 9d6a048c3a..81d52a76ea 100644 --- a/examples/meson.build +++ b/examples/meson.build @@ -36,6 +36,7 @@ all_examples = [ 'qos_meter', 'qos_sched', 'rxtx_callbacks', 'server_node_efd/node', + 'server_node_efd/server', 'service_cores', 'skeleton', 'tep_termination', 'timer', 'vdpa', diff --git a/examples/server_node_efd/server/main.c b/examples/server_node_efd/server/main.c index 455bdc0632..21c72acda2 100644 --- a/examples/server_node_efd/server/main.c +++ b/examples/server_node_efd/server/main.c @@ -11,6 +11,8 @@ #include #include #include +#include +#include #include #include diff --git a/examples/server_node_efd/server/meson.build b/examples/server_node_efd/server/meson.build new file mode 100644 index 0000000000..23e08d1ae6 --- /dev/null +++ b/examples/server_node_efd/server/meson.build @@ -0,0 +1,13 @@ +# 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' + +name = 'efd_server' + +deps += 'efd' +sources += files('args.c', 'init.c', 'main.c') +includes += include_directories('../shared') -- 2.20.1