summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/lib/librte_mempool/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/lib/librte_mempool/meson.build')
-rw-r--r--src/spdk/dpdk/lib/librte_mempool/meson.build18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/spdk/dpdk/lib/librte_mempool/meson.build b/src/spdk/dpdk/lib/librte_mempool/meson.build
new file mode 100644
index 000000000..7dbe6b9be
--- /dev/null
+++ b/src/spdk/dpdk/lib/librte_mempool/meson.build
@@ -0,0 +1,18 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2017 Intel Corporation
+
+extra_flags = []
+
+foreach flag: extra_flags
+ if cc.has_argument(flag)
+ cflags += flag
+ endif
+endforeach
+
+use_function_versioning = true
+
+sources = files('rte_mempool.c', 'rte_mempool_ops.c',
+ 'rte_mempool_ops_default.c', 'mempool_trace_points.c')
+headers = files('rte_mempool.h', 'rte_mempool_trace.h',
+ 'rte_mempool_trace_fp.h')
+deps += ['ring']