From ab5f1c19ac714aee3972f59d091da9c11e95dd74 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Wed, 19 Apr 2017 15:09:57 +0200 Subject: [PATCH] UPSTREAM: console: Make snprintf available in all stages BUG=none BRANCH=none TEST=none Change-Id: I7d4bcca6bc4ae01190e60874570c73cb29f435d2 Signed-off-by: Patrick Georgi Original-Commit-Id: 8941158d1970c3da1d7fd9714dea32bec88d180e Original-Change-Id: If5e255c75e7774393ef7e4febef84d97a1a3a118 Original-Signed-off-by: Paul Menzel Original-Reviewed-on: https://review.coreboot.org/19366 Original-Tested-by: build bot (Jenkins) Original-Reviewed-by: Aaron Durbin Original-Reviewed-by: Philippe Mathieu-Daud Reviewed-on: https://chromium-review.googlesource.com/486752 --- src/console/Makefile.inc | 9 +++++---- 1 file 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