ccache: allow CCACHE_DIR to be overriden

Use weaker assignment for CCACHE_DIR to allow users to override it
if desired.

(From OE-Core rev: 61e864e2d020c820cf90807b48babee3b24f9446)

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Wenzong Fan 2013-07-26 03:35:55 -04:00 committed by Richard Purdie
parent bd1c441a21
commit d8e4a4bfc1
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
CCACHE = "${@bb.which(d.getVar('PATH', True), 'ccache') and 'ccache '}"
export CCACHE_DIR = "${TMPDIR}/ccache/${MULTIMACH_HOST_SYS}/${PN}"
export CCACHE_DIR ?= "${TMPDIR}/ccache/${MULTIMACH_HOST_SYS}/${PN}"
CCACHE_DISABLE[unexport] = "1"
do_configure[dirs] =+ "${CCACHE_DIR}"