From 489e15a8b3210a399aa9cefcc11b9ddcf7283150 Mon Sep 17 00:00:00 2001 From: Max Resch Date: Fri, 28 Apr 2017 02:59:37 +0200 Subject: [PATCH] meson: add compiler flags for "--tpm" in EFI apps (#5829) Readds boot log tpm feature that was missing in meson by readding a defines in efi_conf.h --- src/boot/efi/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/boot/efi/meson.build b/src/boot/efi/meson.build index 6c5c856..6241cb1 100644 --- a/src/boot/efi/meson.build +++ b/src/boot/efi/meson.build @@ -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', -- 2.7.4