[Buildroot] [PATCH next v6 01/10] Makefile: evaluate CCACHE and HOST{CC, CXX} at time of use
Peter Korsgaard
peter at korsgaard.com
Mon Nov 26 18:14:45 UTC 2018
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at bootlin.com> writes:
> As we are going to move to per-package SDK, the location of CCACHE and
> therefore the definitions of HOSTCC and HOSTCXX need to be evaluated
> at the time of use and not at the time of assignment. Indeed, the
> value of HOST_DIR changes from one package to the other.
> Therefore, we need to change from := to =.
> In addition, while doing A := $(something) $(A) is possible, doing A =
> $(something) $(A) is not legal. So, instead of defining HOSTCC in
> terms of the current HOSTCC variable, we re-use HOSTCC_NOCCACHE
> instead.
> Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> Acked-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
Committed to next, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list