summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/console/Makefile.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/console/Makefile.mk b/src/console/Makefile.mk
index fd98cf7354..e104632287 100644
--- a/src/console/Makefile.mk
+++ b/src/console/Makefile.mk
@@ -24,8 +24,8 @@ 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
+romstage-$(CONFIG_SEPARATE_ROMSTAGE) += vtxprintf.c printk.c vsprintf.c
+romstage-$(CONFIG_SEPARATE_ROMSTAGE) += init.c console.c
romstage-y += post.c
romstage-y += die.c