diff options
author | Patrick Georgi <pgeorgi@google.com> | 2021-09-08 23:03:56 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-10-18 16:39:25 +0000 |
commit | 1e1078d6999f8a94ff35bd43a948721649b84f91 (patch) | |
tree | af5a1e99b9c46152c2245ced835f6dddd532deca /toolchain.inc | |
parent | b54388df63f1a42b623e01ec03476712b4a08710 (diff) | |
download | coreboot-1e1078d6999f8a94ff35bd43a948721649b84f91.tar.gz coreboot-1e1078d6999f8a94ff35bd43a948721649b84f91.tar.bz2 coreboot-1e1078d6999f8a94ff35bd43a948721649b84f91.zip |
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>
Diffstat (limited to 'toolchain.inc')
-rw-r--r-- | toolchain.inc | 3 |
1 files changed, 2 insertions, 1 deletions
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)) |