summaryrefslogtreecommitdiff
path: root/toolchain.inc
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-08-01 19:57:02 -0600
committerMartin Roth <martinroth@google.com>2016-08-04 21:48:27 +0200
commit9a162d779194fc41b9b6cb7bec64d7b7a32c1108 (patch)
tree52a16c892fd5522af088e502df8ae459b683565f /toolchain.inc
parent751bff14db1c2f3bca90913a98dfcfe6d7401bf3 (diff)
toolchain.inc: Update 'required toolchain' error text
The old text said: *** building <STAGE> without the required toolchain. Stop. Where <STAGE> could be any of the coreboot stages - bootblock, verstage, ramstage, romstage. This error message was very misleading though, because what it actually meant was that it didn't know what architecture was required to build the stage, not that the toolchain was missing. Update the text to better reflect the actual issue, and to give the user a hint as to what to look for: *** The toolchain architecture for <STAGE> is unknown. *** Check your .config file for CONFIG_ARCH_<STAGE>_* settings. Stop. Change-Id: Ic2a4f60c1f25e0f5e1ebde76781bcb8da0987d82 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/16024 Tested-by: build bot (Jenkins) Reviewed-by: Omar Pakker
Diffstat (limited to 'toolchain.inc')
-rw-r--r--toolchain.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/toolchain.inc b/toolchain.inc
index c8911939e8..21b07b4cba 100644
--- a/toolchain.inc
+++ b/toolchain.inc
@@ -111,7 +111,8 @@ set_stage_toolchain= \
# @2: compiler set to be used
# e.g.: smm special class uses i386 as compiler set
define create_class_compiler
-$(if $(2),,$(error building $(1) without the required toolchain))
+$(if $(2),,$(warning *** The toolchain architecture for $(1) is unknown.) \
+ $(error Check your .config file for CONFIG_ARCH_$(1)_* settings))
CC_$(1) := $(CC_$(2))
LD_$(1) := $(LD_$(2))
NM_$(1) := $(NM_$(2))