tpm2-clear: build only if bootloader/openssl are enabled

The tpm2-clear units are only installed if tpm/bootloader/ssl are
enabled. The tpm2-setup binary/units are built and installed only
if tpm/bootloader/ssl are enabled.
Do the same for the tpm2-clear binary to keep it consistent.
This commit is contained in:
Luca Boccassi
2025-07-24 13:15:32 +01:00
parent 603916702d
commit 50095c51fc

View File

@@ -17,6 +17,8 @@ executables += [
'name' : 'systemd-tpm2-clear',
'sources' : files('tpm2-clear.c'),
'conditions' : [
'ENABLE_BOOTLOADER',
'HAVE_OPENSSL',
'HAVE_TPM2',
],
},