summaryrefslogtreecommitdiff
path: root/src/security/lockdown/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'src/security/lockdown/Makefile.inc')
-rw-r--r--src/security/lockdown/Makefile.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/security/lockdown/Makefile.inc b/src/security/lockdown/Makefile.inc
index a51a106ebc..6ccc5571d4 100644
--- a/src/security/lockdown/Makefile.inc
+++ b/src/security/lockdown/Makefile.inc
@@ -2,5 +2,11 @@
## This file is part of the coreboot project.
ifneq ($(CONFIG_BOOTMEDIA_LOCK_NONE),y)
+
+ifeq ($(CONFIG_BOOTMEDIA_LOCK_IN_VERSTAGE),y)
+verstage-y += lockdown.c
+else
ramstage-y += lockdown.c
endif
+
+endif