summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2019-10-15 10:50:31 +0200
committerPhilipp Deppenwiese <zaolin.daisuki@gmail.com>2019-10-16 11:38:23 +0000
commit31c4c7bc0bfa1882bfc7799cfdfb55e83ef1646c (patch)
treed31d9f7b8c48649133ba217c1cd93c2958320e6d
parentdc9025c14d7d7614ee036b9e5c77a22ecb1aa0a3 (diff)
postcar: Fix linking error with disabled postcar console
Link files to provide snprintf used by VBOOT code. Change-Id: I040c3952c22893da5aae11b20a618aa4006c6c58 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36053 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
-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