[Buildroot] [PATCH 2/3] boot/uboot: use HOSTCC_NOCCACHE as kconfig HOSTCC

Peter Korsgaard peter at korsgaard.com
Wed Jan 16 22:39:18 UTC 2019


>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:

 > At kconfig time, dependencies are not built, and therefore host-ccache
 > is not ready. Due to this, using $(HOSTCC) as the host compiler in
 > KCONFIG_OPTS does not work: a "make uboot-menuconfig" invocation from
 > a clean tree with ccache enabled fails.

 > This commit fixes this by using $(HOSTCC_NOCCACHE). We cannot rely on
 > the default value of HOSTCC passed by the kconfig-package
 > infrastructure, because $(UBOOT_MAKE_OPTS) also contains a HOSTCC
 > definition that would override the one passed by the kconfig-package
 > infrastructure.

 > Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>

Committed, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list