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>
This commit is contained in:
Patrick Rudolph 2019-10-15 10:50:31 +02:00 committed by Philipp Deppenwiese
parent dc9025c14d
commit 31c4c7bc0b
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ romstage-y += init.c console.c
romstage-y += post.c romstage-y += post.c
romstage-y += die.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-$(CONFIG_POSTCAR_CONSOLE) += init.c console.c
postcar-y += post.c postcar-y += post.c
postcar-y += die.c postcar-y += die.c