From: Bruce Richardson Date: Tue, 22 Oct 2019 15:43:08 +0000 (+0100) Subject: examples/server_node_efd: add server binary to meson build X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=32c97c80f2e383269de340efa2b622f24131aa82;p=dpdk.git 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 --- 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')