summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/console/Makefile.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/console/Makefile.inc b/src/console/Makefile.inc
index 3311849941..2154eb9254 100644
--- a/src/console/Makefile.inc
+++ b/src/console/Makefile.inc
@@ -23,7 +23,8 @@ romstage-y += init.c console.c
romstage-y += post.c
romstage-y += die.c
-postcar-$(CONFIG_POSTCAR_CONSOLE) += vtxprintf.c printk.c vsprintf.c
+postcar-y += vtxprintf.c vsprintf.c
+postcar-$(CONFIG_POSTCAR_CONSOLE) += printk.c
postcar-$(CONFIG_POSTCAR_CONSOLE) += init.c console.c
postcar-y += post.c
postcar-y += die.c