[systemd-devel] [PATCH 2/6] pstore: Add new pstore tool/service to the build

Eric DeVolder eric.devolder at oracle.com
Thu May 16 14:28:31 UTC 2019


This new file is invoked by the build system to build pstore.

Signed-off-by: Eric DeVolder <eric.devolder at oracle.com>
---
 src/pstore/meson.build | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 src/pstore/meson.build

diff --git a/src/pstore/meson.build b/src/pstore/meson.build
new file mode 100644
index 0000000..911eb0f
--- /dev/null
+++ b/src/pstore/meson.build
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: LGPL-2.1+
+
+systemd_pstore_sources = files('''
+        pstore.c
+'''.split())
+
+#pstorectl_sources = files('pstorectl.c')
+
+if conf.get('ENABLE_PSTORE') == 1
+        install_data('pstore.conf',
+                     install_dir : pkgsysconfdir)
+endif
+
+#tests += [
+#        [['src/pstore/test-pstore.c',
+#          'src/pstore/pstore.c',
+#          'src/pstore/pstore.h'],
+#         [],
+#         [],
+#         'ENABLE_PSTORE', 'manual'],
+#]
-- 
2.7.4



More information about the systemd-devel mailing list