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