build system: immediately report what users are supposed to look into

Instead of just logging "Check out that file over there for this type
of values", why not emit them directly?

Change-Id: I54630afce4011ab9ee3eda415e95d5b7d5812e6b
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57508
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
Patrick Georgi 2021-09-08 23:03:56 +02:00
parent b54388df63
commit 1e1078d699
1 changed files with 2 additions and 1 deletions

View File

@ -108,7 +108,8 @@ standard-archs = $(sort $(foreach stagearch, \
# e.g.: smm special class uses i386 as compiler set # e.g.: smm special class uses i386 as compiler set
define create_class_compiler define create_class_compiler
$(if $(2),,$(warning *** The toolchain architecture for $(1) is unknown.) \ $(if $(2),,$(warning *** The toolchain architecture for $(1) is unknown.) \
$(error Check your .config file for CONFIG_ARCH_$(1)_* settings)) $(warning CONFIG_ARCH_$(1)_* settings in $(DOTCONFIG):) \
$(error $(shell grep CONFIG_ARCH_$(1)_ $(DOTCONFIG))))
CC_$(1) := $(CC_$(2)) CC_$(1) := $(CC_$(2))
GCC_$(1) := $(GCC_CC_$(2)) GCC_$(1) := $(GCC_CC_$(2))
LD_$(1) := $(LD_$(2)) LD_$(1) := $(LD_$(2))