examples/server_node_efd: add node binary to meson build
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 22 Oct 2019 15:43:07 +0000 (16:43 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 27 Oct 2019 16:24:31 +0000 (17:24 +0100)
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
examples/meson.build
examples/server_node_efd/meson.build [deleted file]
examples/server_node_efd/node/meson.build [new file with mode: 0644]

index adef79b..9d6a048 100644 (file)
@@ -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/meson.build
deleted file mode 100644 (file)
index c370d74..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 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
diff --git a/examples/server_node_efd/node/meson.build b/examples/server_node_efd/node/meson.build
new file mode 100644 (file)
index 0000000..30f2876
--- /dev/null
@@ -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_node'
+
+deps += ['hash']
+sources += files('node.c')
+includes += include_directories('../shared')