summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--meson.build1
-rw-r--r--src/boot/meson.build10
-rw-r--r--src/measure/measure.c (renamed from src/boot/measure.c)0
-rw-r--r--src/measure/meson.build14
4 files changed, 15 insertions, 10 deletions
diff --git a/meson.build b/meson.build
index e76115a619..4a0a7749bf 100644
--- a/meson.build
+++ b/meson.build
@@ -2382,6 +2382,7 @@ subdir('src/locale')
subdir('src/login')
subdir('src/machine')
subdir('src/machine-id-setup')
+subdir('src/measure')
subdir('src/mountfsd')
subdir('src/modules-load')
subdir('src/mount')
diff --git a/src/boot/meson.build b/src/boot/meson.build
index 095387384e..b6e0dbcde9 100644
--- a/src/boot/meson.build
+++ b/src/boot/meson.build
@@ -2,16 +2,6 @@
executables += [
libexec_template + {
- 'name' : 'systemd-measure',
- 'conditions' : [
- 'HAVE_BLKID',
- 'HAVE_OPENSSL',
- 'HAVE_TPM2',
- ],
- 'sources' : files('measure.c'),
- 'dependencies' : libopenssl,
- },
- libexec_template + {
'name' : 'systemd-sbsign',
'conditions' : [
'HAVE_OPENSSL',
diff --git a/src/boot/measure.c b/src/measure/measure.c
index eacf90f08c..eacf90f08c 100644
--- a/src/boot/measure.c
+++ b/src/measure/measure.c
diff --git a/src/measure/meson.build b/src/measure/meson.build
new file mode 100644
index 0000000000..13a890170c
--- /dev/null
+++ b/src/measure/meson.build
@@ -0,0 +1,14 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+executables += [
+ libexec_template + {
+ 'name' : 'systemd-measure',
+ 'conditions' : [
+ 'HAVE_BLKID',
+ 'HAVE_OPENSSL',
+ 'HAVE_TPM2',
+ ],
+ 'sources' : files('measure.c'),
+ 'dependencies' : libopenssl,
+ },
+]