summaryrefslogtreecommitdiff
path: root/toolchain.inc
diff options
context:
space:
mode:
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))