summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/Makefile
diff options
context:
space:
mode:
authorMimi Zohar <zohar@linux.ibm.com>2018-11-18 04:08:12 -0500
committerMimi Zohar <zohar@linux.ibm.com>2018-12-11 07:19:45 -0500
commit399574c64eaf94e82b7cf056978d7e68748c0f1d (patch)
tree73345c30d1bf8b57371261391e23ffbcddc33306 /arch/x86/kernel/Makefile
parent4264f27a0815c46dfda9c9dd6d5f4abc1df04415 (diff)
x86/ima: retry detecting secure boot mode
The secure boot mode may not be detected on boot for some reason (eg. buggy firmware). This patch attempts one more time to detect the secure boot mode. Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
Diffstat (limited to 'arch/x86/kernel/Makefile')
-rw-r--r--arch/x86/kernel/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/Makefile b/arch/x86/kernel/Makefile
index f0910a1e1db7..eb51b0e1189c 100644
--- a/arch/x86/kernel/Makefile
+++ b/arch/x86/kernel/Makefile
@@ -151,4 +151,6 @@ ifeq ($(CONFIG_X86_64),y)
obj-y += vsmp_64.o
endif
+ifdef CONFIG_EFI
obj-$(CONFIG_IMA) += ima_arch.o
+endif