summaryrefslogtreecommitdiffstats
path: root/src/seastar/dpdk/lib/librte_telemetry/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/seastar/dpdk/lib/librte_telemetry/meson.build')
-rw-r--r--src/seastar/dpdk/lib/librte_telemetry/meson.build15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/seastar/dpdk/lib/librte_telemetry/meson.build b/src/seastar/dpdk/lib/librte_telemetry/meson.build
new file mode 100644
index 000000000..cafb26f08
--- /dev/null
+++ b/src/seastar/dpdk/lib/librte_telemetry/meson.build
@@ -0,0 +1,15 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Intel Corporation
+
+sources = files('rte_telemetry.c', 'rte_telemetry_parser.c', 'rte_telemetry_parser_test.c')
+headers = files('rte_telemetry.h', 'rte_telemetry_internal.h', 'rte_telemetry_parser.h', 'rte_telemetry_parser_test.h')
+deps += ['metrics', 'ethdev']
+cflags += '-DALLOW_EXPERIMENTAL_API'
+
+jansson = dependency('jansson', required: false)
+if jansson.found()
+ ext_deps += jansson
+ dpdk_app_link_libraries += ['telemetry']
+else
+ build = false
+endif