[7/8] examples/server_node_efd: add node binary to meson build

Message ID 20191014113448.7442-8-bruce.richardson@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Thomas Monjalon
Headers
Series support all examples in a meson build |

Checks

Context Check Description
ci/Intel-compilation fail apply issues
ci/checkpatch warning coding style issues

Commit Message

Bruce Richardson Oct. 14, 2019, 11:34 a.m. UTC
  Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 examples/meson.build                            | 3 ++-
 examples/server_node_efd/{ => node}/meson.build | 9 ++++++---
 2 files changed, 8 insertions(+), 4 deletions(-)
 rename examples/server_node_efd/{ => node}/meson.build (60%)
  

Patch

diff --git a/examples/meson.build b/examples/meson.build
index ff4e8608c..352921ea8 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -35,7 +35,8 @@  all_examples = [
 	'ptpclient',
 	'qos_meter', 'qos_sched',
 	'rxtx_callbacks',
-	'server_node_efd', 'service_cores',
+	'server_node_efd/node',
+	'service_cores',
 	'skeleton', 'tep_termination',
 	'timer', 'vdpa',
 	'vhost', 'vhost_crypto',
diff --git a/examples/server_node_efd/meson.build b/examples/server_node_efd/node/meson.build
similarity index 60%
rename from examples/server_node_efd/meson.build
rename to examples/server_node_efd/node/meson.build
index c370d7476..30f28761f 100644
--- a/examples/server_node_efd/meson.build
+++ b/examples/server_node_efd/node/meson.build
@@ -1,10 +1,13 @@ 
 # SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Intel Corporation
+# 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'
 
-# Example app currently unsupported by meson build
-build = false
+name = 'efd_node'
+
+deps += ['hash']
+sources += files('node.c')
+includes += include_directories('../shared')