[dpdk-dev] [PATCH 3/3] app: add all remaining apps to meson build

Bruce Richardson bruce.richardson at intel.com
Fri Feb 16 17:53:36 CET 2018


Add remaining subdirectories in the app folder to the meson build.

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
 app/meson.build                  |  6 +++++-
 app/pdump/meson.build            |  6 ++++++
 app/proc-info/meson.build        |  6 ++++++
 app/test-bbdev/meson.build       |  9 +++++++++
 app/test-crypto-perf/meson.build | 14 ++++++++++++++
 5 files changed, 40 insertions(+), 1 deletion(-)
 create mode 100644 app/pdump/meson.build
 create mode 100644 app/proc-info/meson.build
 create mode 100644 app/test-bbdev/meson.build
 create mode 100644 app/test-crypto-perf/meson.build

diff --git a/app/meson.build b/app/meson.build
index 7491316e3..99e0b93ec 100644
--- a/app/meson.build
+++ b/app/meson.build
@@ -1,7 +1,11 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2017 Intel Corporation
 
-apps = ['test-eventdev',
+apps = ['pdump',
+	'proc-info',
+	'test-bbdev',
+	'test-crypto-perf',
+	'test-eventdev',
 	'test-pmd']
 
 # for BSD only
diff --git a/app/pdump/meson.build b/app/pdump/meson.build
new file mode 100644
index 000000000..988cb4eb2
--- /dev/null
+++ b/app/pdump/meson.build
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Intel Corporation
+
+sources = files('main.c')
+allow_experimental_apis = true
+deps = ['ethdev', 'kvargs', 'pdump']
diff --git a/app/proc-info/meson.build b/app/proc-info/meson.build
new file mode 100644
index 000000000..9c148e36e
--- /dev/null
+++ b/app/proc-info/meson.build
@@ -0,0 +1,6 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Intel Corporation
+
+sources = files('main.c')
+allow_experimental_apis = true
+deps = ['ethdev', 'metrics']
diff --git a/app/test-bbdev/meson.build b/app/test-bbdev/meson.build
new file mode 100644
index 000000000..653907ded
--- /dev/null
+++ b/app/test-bbdev/meson.build
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Intel Corporation
+
+sources = files('main.c',
+		'test_bbdev.c',
+		'test_bbdev_perf.c',
+		'test_bbdev_vector.c')
+allow_experimental_apis = true
+deps = ['bbdev', 'bus_vdev']
diff --git a/app/test-crypto-perf/meson.build b/app/test-crypto-perf/meson.build
new file mode 100644
index 000000000..6eb22a5fd
--- /dev/null
+++ b/app/test-crypto-perf/meson.build
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Intel Corporation
+
+sources = files('cperf_ops.c',
+		'cperf_options_parsing.c',
+		'cperf_test_common.c',
+		'cperf_test_latency.c',
+		'cperf_test_pmd_cyclecount.c',
+		'cperf_test_throughput.c',
+		'cperf_test_vector_parsing.c',
+		'cperf_test_vectors.c',
+		'cperf_test_verify.c',
+		'main.c')
+deps = ['cryptodev']
-- 
2.14.3



More information about the dev mailing list