1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-11 20:58:27 +03:00

shared: Move cryptsetup-tpm2.[ch] from systemd-cryptsetup

This commit is contained in:
Gabríel Arthúr Pétursson 2024-01-03 15:55:18 +00:00
parent f6f00383ff
commit 47b425de0c
4 changed files with 4 additions and 4 deletions

View File

@ -11,10 +11,6 @@ if conf.get('HAVE_P11KIT') == 1
systemd_cryptsetup_sources += files('cryptsetup-pkcs11.c') systemd_cryptsetup_sources += files('cryptsetup-pkcs11.c')
endif endif
if conf.get('HAVE_TPM2') == 1
systemd_cryptsetup_sources += files('cryptsetup-tpm2.c')
endif
executables += [ executables += [
executable_template + { executable_template + {
'name' : 'systemd-cryptsetup', 'name' : 'systemd-cryptsetup',

View File

@ -250,6 +250,10 @@ if conf.get('HAVE_LIBFIDO2') == 1 and conf.get('HAVE_LIBCRYPTSETUP') == 1
shared_sources += files('cryptsetup-fido2.c') shared_sources += files('cryptsetup-fido2.c')
endif endif
if conf.get('HAVE_TPM2') == 1 and conf.get('HAVE_LIBCRYPTSETUP') == 1
shared_sources += files('cryptsetup-tpm2.c')
endif
generate_ip_protocol_list = find_program('generate-ip-protocol-list.sh') generate_ip_protocol_list = find_program('generate-ip-protocol-list.sh')
ip_protocol_list_txt = custom_target( ip_protocol_list_txt = custom_target(
'ip-protocol-list.txt', 'ip-protocol-list.txt',