[Buildroot] [PATCH 3/3] linux: use HOSTCC_NOCCACHE as kconfig HOSTCC

Peter Korsgaard peter at korsgaard.com
Mon Jan 28 17:01:23 UTC 2019


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

 > linux is a bit different than other kconfig-package, because it has
 > "toolchain" in KCONFIG_DEPENDENCIES. Thanks to this, host-ccache *is*
 > ready by the time kconfig invocations are made, so we could use
 > $(HOSTCC) as the host compiler for kconfig related operations.

 > However, for consistency with other kconfig-package packages, we chose
 > to use $(HOSTCC_NOCCACHE) as well.

 > We cannot rely on the default value of HOSTCC passed by the
 > kconfig-package infrastructure, because $(LINUX_MAKE_FLAGS) 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 to 2018.11.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list