dbc4a9b
From: Josh Boyer <jwboyer@fedoraproject.org>
dbc4a9b
Date: Tue, 27 Aug 2013 13:28:43 -0400
dbc4a9b
Subject: [PATCH] efi: Make EFI_SECURE_BOOT_SIG_ENFORCE depend on EFI
dbc4a9b
dbc4a9b
The functionality of the config option is dependent upon the platform being
dbc4a9b
UEFI based.  Reflect this in the config deps.
dbc4a9b
dbc4a9b
Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
dbc4a9b
---
dbc4a9b
 arch/x86/Kconfig | 3 ++-
dbc4a9b
 1 file changed, 2 insertions(+), 1 deletion(-)
dbc4a9b
dbc4a9b
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
dbc4a9b
index 61542c282e70..e5ee669e87b6 100644
dbc4a9b
--- a/arch/x86/Kconfig
dbc4a9b
+++ b/arch/x86/Kconfig
dbc4a9b
@@ -1567,7 +1567,8 @@ config EFI_MIXED
dbc4a9b
 	   If unsure, say N.
dbc4a9b
 
dbc4a9b
 config EFI_SECURE_BOOT_SIG_ENFORCE
dbc4a9b
-        def_bool n
dbc4a9b
+	def_bool n
dbc4a9b
+	depends on EFI
dbc4a9b
 	prompt "Force module signing when UEFI Secure Boot is enabled"
dbc4a9b
 	---help---
dbc4a9b
 	  UEFI Secure Boot provides a mechanism for ensuring that the
dbc4a9b
-- 
c47527a
2.1.0
dbc4a9b