summaryrefslogtreecommitdiffstats
path: root/meta/classes/ccache.bbclass
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2013-07-26 03:35:55 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-31 06:59:54 +0100
commitd8e4a4bfc13920e06112d491a185c3aa1c2a8afe (patch)
tree3067fa255de3cece14236a0447747fff4cf9f988 /meta/classes/ccache.bbclass
parentbd1c441a210cae03fb6006c996227211cc29056b (diff)
downloadpoky-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>
Diffstat (limited to 'meta/classes/ccache.bbclass')
-rw-r--r--meta/classes/ccache.bbclass2
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 @@
1CCACHE = "${@bb.which(d.getVar('PATH', True), 'ccache') and 'ccache '}" 1CCACHE = "${@bb.which(d.getVar('PATH', True), 'ccache') and 'ccache '}"
2export CCACHE_DIR = "${TMPDIR}/ccache/${MULTIMACH_HOST_SYS}/${PN}" 2export CCACHE_DIR ?= "${TMPDIR}/ccache/${MULTIMACH_HOST_SYS}/${PN}"
3CCACHE_DISABLE[unexport] = "1" 3CCACHE_DISABLE[unexport] = "1"
4 4
5do_configure[dirs] =+ "${CCACHE_DIR}" 5do_configure[dirs] =+ "${CCACHE_DIR}"