[coreboot-gerrit] Patch set updated for coreboot: src/console: Link die.c in bootblock without BOOTBLOCK_CONSOLE

Alexandru Gagniuc (mr.nuke.me@gmail.com) gerrit at coreboot.org
Fri Nov 13 18:32:27 CET 2015


Alexandru Gagniuc (mr.nuke.me at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/12356

-gerrit

commit f29970e8104fc9a2bfd041f9274ad9c35d8e809d
Author: Alexandru Gagniuc <mr.nuke.me at gmail.com>
Date:   Fri Nov 6 15:55:46 2015 -0800

    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 at gmail.com>
---
 src/console/Makefile.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/console/Makefile.inc b/src/console/Makefile.inc
index b236578..94b456c 100644
--- a/src/console/Makefile.inc
+++ b/src/console/Makefile.inc
@@ -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



More information about the coreboot-gerrit mailing list