diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2013-07-26 03:35:55 -0400 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2013-07-29 23:04:01 -0700 |
commit | 61e864e2d020c820cf90807b48babee3b24f9446 (patch) | |
tree | 0aad96f7a26abaf8869fe5b1cdad58afb9ed5a27 /meta/classes | |
parent | 09deeef20ee5a0c12ad4fd89cace6e0fb832d5b1 (diff) | |
download | openembedded-core-61e864e2d020c820cf90807b48babee3b24f9446.tar.gz openembedded-core-61e864e2d020c820cf90807b48babee3b24f9446.tar.bz2 openembedded-core-61e864e2d020c820cf90807b48babee3b24f9446.zip |
ccache: allow CCACHE_DIR to be overriden
Use weaker assignment for CCACHE_DIR to allow users to override it
if desired.
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes')
-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 @@ 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}" |