src/console: Link die.c in bootblock without BOOTBLOCK_CONSOLE
Without BOOTBLOCK_CONSOLE any call to die() fails due to die() symbol not being defined at link time. die() is not is dependent on the console backend, and can function without it (the prink gets no-oped). Change-Id: I6cecafb576c3b1e901f3927c777f6282174fb259 Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/12356 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
46f7b0494f
commit
90ca3412ff
|
@ -20,4 +20,4 @@ romstage-y += die.c
|
|||
|
||||
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += vtxprintf.c printk.c
|
||||
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += init.c console.c
|
||||
bootblock-$(CONFIG_BOOTBLOCK_CONSOLE) += die.c
|
||||
bootblock-y += die.c
|
||||
|
|
Loading…
Reference in New Issue