From 90ca3412ff585630a2ce0d1a57b8f0f7afb681ba Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Fri, 6 Nov 2015 15:55:46 -0800 Subject: 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 Reviewed-on: http://review.coreboot.org/12356 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/console/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/console/Makefile.inc') 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 -- cgit v1.2.3