diff options
author | Alexandru Gagniuc <mr.nuke.me@gmail.com> | 2015-11-06 15:55:46 -0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2015-11-17 16:28:25 +0100 |
commit | 90ca3412ff585630a2ce0d1a57b8f0f7afb681ba (patch) | |
tree | 10eff3258e904d3f8db147947bd177d060fa1f00 | |
parent | 46f7b0494f67d4784f633b5e8449fd6ae9f96483 (diff) | |
download | coreboot-90ca3412ff585630a2ce0d1a57b8f0f7afb681ba.tar.xz |
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>
-rw-r--r-- | src/console/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console/Makefile.inc b/src/console/Makefile.inc index b236578ea0..94b456c664 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 |