From: Wenzong Fan Date: Fri, 26 Jul 2013 07:35:55 +0000 (-0400) Subject: ccache: allow CCACHE_DIR to be overriden X-Git-Tag: rev_ivi_2015_02_04~11643 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb6c05f9c3b116af15949da3c0980a8a3af01233;p=scm%2Fbb%2Ftizen-distro.git 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 Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass index cd06a4b..ca3ca43 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}"