From 1e1078d6999f8a94ff35bd43a948721649b84f91 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 8 Sep 2021 23:03:56 +0200 Subject: 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/57508 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- toolchain.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'toolchain.inc') diff --git a/toolchain.inc b/toolchain.inc index 80dab78d6337..893f7d1a11a8 100644 --- a/toolchain.inc +++ b/toolchain.inc @@ -108,7 +108,8 @@ standard-archs = $(sort $(foreach stagearch, \ # e.g.: smm special class uses i386 as compiler set define create_class_compiler $(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)) GCC_$(1) := $(GCC_CC_$(2)) LD_$(1) := $(LD_$(2)) -- cgit v1.2.3