summaryrefslogtreecommitdiffstats
path: root/meta/classes/ccache.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2017-07-10 16:31:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-17 14:01:36 +0100
commitc895ddb56b18bbc500842775aa98d052dbbdd909 (patch)
treeacae3e132b725f234000cad8a8015562a23895b6 /meta/classes/ccache.bbclass
parent8839ed1620c80f3c4a806c096e97d25c68d6d64e (diff)
downloadpoky-c895ddb56b18bbc500842775aa98d052dbbdd909.tar.gz
ccache: don't export CCACHE_DISABLE globally
CCACHE_DISABLE was added to bitbake.conf in oe-core dd2bab (June 2012) because autogen-native exports HOME=/dev/null during the build, which is then used by a host ccache to construct the path to it's cache (/dev/null/.ccache) and this fails. However we now always export CCACHE_DIR to solve the same problem in a more efficient way so CCACHE_DISABLE can be deleted. (From OE-Core rev: ef33a3138384667f819688141086102e6e83ec44) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/ccache.bbclass')
-rw-r--r--meta/classes/ccache.bbclass1
1 files changed, 0 insertions, 1 deletions
diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass
index d58c8f6e57..9f1b1f45e3 100644
--- a/meta/classes/ccache.bbclass
+++ b/meta/classes/ccache.bbclass
@@ -1,6 +1,5 @@
1CCACHE = "${@bb.utils.which(d.getVar('PATH'), 'ccache') and 'ccache '}" 1CCACHE = "${@bb.utils.which(d.getVar('PATH'), 'ccache') and 'ccache '}"
2export CCACHE_DIR ?= "${TMPDIR}/ccache/${MULTIMACH_TARGET_SYS}/${PN}" 2export CCACHE_DIR ?= "${TMPDIR}/ccache/${MULTIMACH_TARGET_SYS}/${PN}"
3CCACHE_DISABLE[unexport] = "1"
4 3
5# We need to stop ccache considering the current directory or the 4# We need to stop ccache considering the current directory or the
6# debug-prefix-map target directory to be significant when calculating 5# debug-prefix-map target directory to be significant when calculating