mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 06:22:43 +00:00
68246dd736
The module is only built for EFI, so don't enable it for other platforms. Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
26 lines
860 B
Diff
26 lines
860 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Javier Martinez Canillas <javierm@redhat.com>
|
|
Date: Mon, 18 May 2020 12:56:27 +0200
|
|
Subject: [PATCH] tpm: Enable module for all EFI platforms
|
|
|
|
The tpm module is only enabled for x86_64, but there's nothing specific to
|
|
that architecture in the code and could be enabled for all EFI platforms.
|
|
|
|
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
|
|
---
|
|
grub-core/Makefile.core.def | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def
|
|
index 661994686e6..b283c502b9c 100644
|
|
--- a/grub-core/Makefile.core.def
|
|
+++ b/grub-core/Makefile.core.def
|
|
@@ -2512,7 +2512,7 @@ module = {
|
|
name = tpm;
|
|
common = commands/tpm.c;
|
|
efi = commands/efi/tpm.c;
|
|
- enable = x86_64_efi;
|
|
+ enable = efi;
|
|
};
|
|
|
|
module = {
|