summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/console/Makefile.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/console/Makefile.inc b/src/console/Makefile.inc
index 2154eb9254..e2a20d7ff7 100644
--- a/src/console/Makefile.inc
+++ b/src/console/Makefile.inc
@@ -11,12 +11,14 @@ smm-$(CONFIG_DEBUG_SMI) += init.c console.c vtxprintf.c printk.c
smm-y += die.c
smm-y += post.c
-verstage-y += init.c
+ifneq ($(CONFIG_VBOOT_STARTS_BEFORE_BOOTBLOCK),y)
verstage-y += printk.c
-verstage-y += vtxprintf.c vsprintf.c
verstage-y += console.c
+endif
verstage-y += post.c
verstage-y += die.c
+verstage-y += init.c
+verstage-y += vtxprintf.c vsprintf.c
romstage-y += vtxprintf.c printk.c vsprintf.c
romstage-y += init.c console.c