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