[OE-core] [PATCH 1/1] ccache: allow CCACHE_DIR to be overriden

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Wed Jul 31 10:05:14 UTC 2013


<wenzong.fan-CWA4WttNNZF54TAoqtyWWQ at public.gmane.org> writes:

> Use weaker assignment for CCACHE_DIR to allow users to override it
> if desired.
>
> -export CCACHE_DIR = "${TMPDIR}/ccache/${MULTIMACH_HOST_SYS}/${PN}"
> +export CCACHE_DIR ?= "${TMPDIR}/ccache/${MULTIMACH_HOST_SYS}/${PN}"

This can be a dangerous change and probably does not have the intended
effect ((project) global ccache dir) due to

| do_clean[cleandirs] += "${CCACHE_DIR}"


imo, this class should be removed completely (${PN} local ccache dirs do
not make any sense) and the only useful part

| CCACHE_DISABLE[unexport] = "1"

should be solved by http://patchwork.openembedded.org/patch/32787/



Enrico



More information about the Openembedded-core mailing list