diff options
author | zbao <fishbaozi@gmail.com> | 2015-11-05 15:33:33 +0800 |
---|---|---|
committer | Zheng Bao <zheng.bao@amd.com> | 2015-11-20 05:41:12 +0100 |
commit | 1bb4083859b848b9ffe98ca9fdfbd10adcf482dd (patch) | |
tree | 5ff2ed26e26f338e38198dee3ead655bf7e6c8f4 /3rdparty/vboot | |
parent | 669807682ed4fe2d01295bf99fe63c4c097ebc6f (diff) |
Makefile: Set HOSTCC as gcc or cc respectively
The HOSTCC should be set in .xcompile, which tests the existence of gcc
and cc. But the .xcompile has to be included after kconfig/Makefile. So
building util/kconfig uses the seperated HOSTCC definition above it,
instead of the one in .xcompile.
For the system which clang is the default host compiler, gcc is not
installed by default. In that case, we need to set HOSTCC as cc.
Change-Id: I1e51a37c4426e2c97d36a31f26a18ab4b0d0608d
Signed-off-by: Zheng Bao <fishbaozi@gmail.com>
Reviewed-on: http://review.coreboot.org/12331
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to '3rdparty/vboot')
0 files changed, 0 insertions, 0 deletions