From 61e864e2d020c820cf90807b48babee3b24f9446 Mon Sep 17 00:00:00 2001 From: Wenzong Fan Date: Fri, 26 Jul 2013 03:35:55 -0400 Subject: 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 Signed-off-by: Saul Wold --- meta/classes/ccache.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes') 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}" -- cgit v1.2.3