build system: Rely on xcompile for HOSTCC and HOSTCXX
commitb351875f1ebd48a25db3e4eab6e0a0b036550941
authorPatrick Georgi <pgeorgi@google.com>
Mon, 6 Jul 2020 15:31:58 +0000 (6 15:31 +0000)
committerPatrick Georgi <pgeorgi@google.com>
Wed, 8 Jul 2020 08:53:46 +0000 (8 08:53 +0000)
tree3bb79a9eab6d8cf7533dd125f5e7cf605619c8e6
parent793bf7e605e7451db47af0b47d7135767549a09c
build system: Rely on xcompile for HOSTCC and HOSTCXX

It already looks for them, so let's use the result instead
of blindly defaulting to gcc/g++, except when not building an image
(but run kconfig or tests) because we don't use xcompile in those cases.

Change-Id: I3e50c70a609f1903a925610928f8779c191040d8
Signed-off-by: Patrick Georgi <pgeorgi@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43145
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Makefile