diff options
author | Patrick Rudolph <patrick.rudolph@9elements.com> | 2019-10-15 10:50:31 +0200 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2019-10-16 11:38:23 +0000 |
commit | 31c4c7bc0bfa1882bfc7799cfdfb55e83ef1646c (patch) | |
tree | d31d9f7b8c48649133ba217c1cd93c2958320e6d /src | |
parent | dc9025c14d7d7614ee036b9e5c77a22ecb1aa0a3 (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>
Diffstat (limited to 'src')
-rw-r--r-- | src/console/Makefile.inc | 3 |
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 |