summaryrefslogtreecommitdiff
path: root/src/boot/efi/stub.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-07-13 09:31:47 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-07-18 10:05:06 -0400
commit18b9ad1f61f42d4558b89da6dc00c607630f2f48 (patch)
treeee82b8754345f878caf39e6ae7a8afc554254373 /src/boot/efi/stub.c
parente7e157032bb5a9cb2d951fc6b28394d66cb513ad (diff)
downloadsystemd-18b9ad1f61f42d4558b89da6dc00c607630f2f48.tar.gz
build-sys: rename SD_BOOT_LOG_TPM to ENABLE_TPM
This makes it more like other configure defines. Also, it fixes meson status output which was looking for HAVE_ and ENABLE_ prefixes only (the define under meson was OK, just the summary message was wrong.)
Diffstat (limited to 'src/boot/efi/stub.c')
-rw-r--r--src/boot/efi/stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boot/efi/stub.c b/src/boot/efi/stub.c
index bab5d46de9..bef416aa5c 100644
--- a/src/boot/efi/stub.c
+++ b/src/boot/efi/stub.c
@@ -87,7 +87,7 @@ EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *sys_table) {
line[i] = options[i];
cmdline = line;
-#ifdef SD_BOOT_LOG_TPM
+#ifdef ENABLE_TPM
/* Try to log any options to the TPM, especially manually edited options */
err = tpm_log_event(SD_TPM_PCR,
(EFI_PHYSICAL_ADDRESS) loaded_image->LoadOptions,