From: Max Resch Date: Fri, 28 Apr 2017 00:59:37 +0000 (+0200) Subject: meson: add compiler flags for "--tpm" in EFI apps (#5829) X-Git-Tag: v234~272 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=489e15a8b3210a399aa9cefcc11b9ddcf7283150;p=platform%2Fupstream%2Fsystemd.git 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 --- 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',