diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2013-07-26 03:35:55 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-31 06:59:54 +0100 |
commit | d8e4a4bfc13920e06112d491a185c3aa1c2a8afe (patch) | |
tree | 3067fa255de3cece14236a0447747fff4cf9f988 | |
parent | bd1c441a210cae03fb6006c996227211cc29056b (diff) | |
download | poky-d8e4a4bfc13920e06112d491a185c3aa1c2a8afe.tar.gz |
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>
-rw-r--r-- | meta/classes/ccache.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass index cd06a4bfdc..ca3ca43164 100644 --- a/meta/classes/ccache.bbclass +++ b/meta/classes/ccache.bbclass | |||
@@ -1,5 +1,5 @@ | |||
1 | CCACHE = "${@bb.which(d.getVar('PATH', True), 'ccache') and 'ccache '}" | 1 | CCACHE = "${@bb.which(d.getVar('PATH', True), 'ccache') and 'ccache '}" |
2 | export CCACHE_DIR = "${TMPDIR}/ccache/${MULTIMACH_HOST_SYS}/${PN}" | 2 | export CCACHE_DIR ?= "${TMPDIR}/ccache/${MULTIMACH_HOST_SYS}/${PN}" |
3 | CCACHE_DISABLE[unexport] = "1" | 3 | CCACHE_DISABLE[unexport] = "1" |
4 | 4 | ||
5 | do_configure[dirs] =+ "${CCACHE_DIR}" | 5 | do_configure[dirs] =+ "${CCACHE_DIR}" |