summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Resch <mxre@users.noreply.github.com>2017-04-28 02:59:37 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-04-27 20:59:37 -0400
commit489e15a8b3210a399aa9cefcc11b9ddcf7283150 (patch)
treebadb91a6dcc3734f6e6816b54003289e65f5cb5a
parentb13586206b2ee5b927680201a716a92244d7b3d6 (diff)
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
-rw-r--r--src/boot/efi/meson.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/boot/efi/meson.build b/src/boot/efi/meson.build
index 6c5c856d8c..6241cb1c19 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',