summaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
authorPaul Menzel <pmenzel@molgen.mpg.de>2017-04-19 15:09:57 +0200
committerMartin Roth <martinroth@google.com>2017-04-24 19:25:21 +0200
commit8941158d1970c3da1d7fd9714dea32bec88d180e (patch)
tree6dcaa0a38dca2151cc5c3ddfa51a8b37153928fc /src/console
parent64a3210eba18a619a2946bba4ed2fcd2e0201b9c (diff)
console: Make snprintf available in all stages
Change-Id: If5e255c75e7774393ef7e4febef84d97a1a3a118 Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/19366 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Diffstat (limited to 'src/console')
-rw-r--r--src/console/Makefile.inc9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/console/Makefile.inc b/src/console/Makefile.inc
index aa0dbf5f72..13f2b10a11 100644
--- a/src/console/Makefile.inc
+++ b/src/console/Makefile.inc
@@ -12,22 +12,23 @@ smm-$(CONFIG_SMM_TSEG) += die.c
verstage-y += init.c
verstage-y += printk.c
-verstage-y += vtxprintf.c
+verstage-y += vtxprintf.c vsprintf.c
verstage-y += console.c
verstage-y += post.c
verstage-y += die.c
-romstage-y += vtxprintf.c printk.c
+romstage-y += vtxprintf.c printk.c vsprintf.c
romstage-y += init.c console.c
romstage-y += post.c
romstage-y += die.c
-postcar-$(CONFIG_POSTCAR_CONSOLE) += vtxprintf.c printk.c
+postcar-$(CONFIG_POSTCAR_CONSOLE) += vtxprintf.c printk.c vsprintf.c
postcar-$(CONFIG_POSTCAR_CONSOLE) += init.c console.c
postcar-y += post.c
postcar-y += die.c
-bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += vtxprintf.c printk.c
+bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += printk.c
+bootblock-y += vtxprintf.c vsprintf.c
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += init.c console.c
bootblock-y += post.c
bootblock-y += die.c