]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: add compiler flags for "--tpm" in EFI apps (#5829)
authorMax Resch <mxre@users.noreply.github.com>
Fri, 28 Apr 2017 00:59:37 +0000 (02:59 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 28 Apr 2017 00:59:37 +0000 (20:59 -0400)
Readds boot log tpm feature that was missing in meson by readding a
defines in efi_conf.h

src/boot/efi/meson.build

index 6c5c856d8cdd3e9e6ac31d72756a429cfdb25bfe..6241cb1c19c1d09843aeffb7df060bd6b7645905 100644 (file)
@@ -62,6 +62,8 @@ if have_gnu_efi
         efi_conf = configuration_data()
         efi_conf.set_quoted('PACKAGE_VERSION', meson.project_version())
         efi_conf.set_quoted('EFI_MACHINE_TYPE_NAME', EFI_MACHINE_TYPE_NAME)
+        efi_conf.set('SD_BOOT_LOG_TPM', get_option('tpm'))
+        efi_conf.set('SD_TPM_PCR', get_option('tpm-pcrindex'))
 
         efi_config_h = configure_file(
                 output : 'efi_config.h',