diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/ccache.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass index 11a3f1cb52..f00fafc292 100644 --- a/meta/classes/ccache.bbclass +++ b/meta/classes/ccache.bbclass | |||
@@ -35,6 +35,10 @@ export CCACHE_CONFIGPATH ?= "${COREBASE}/meta/conf/ccache.conf" | |||
35 | 35 | ||
36 | export CCACHE_DIR ?= "${CCACHE_TOP_DIR}/${MULTIMACH_TARGET_SYS}/${PN}" | 36 | export CCACHE_DIR ?= "${CCACHE_TOP_DIR}/${MULTIMACH_TARGET_SYS}/${PN}" |
37 | 37 | ||
38 | # Fixed errors: | ||
39 | # ccache: error: Failed to create directory /run/user/0/ccache-tmp: Permission denied | ||
40 | export CCACHE_TEMPDIR ?= "${CCACHE_DIR}/tmp" | ||
41 | |||
38 | # We need to stop ccache considering the current directory or the | 42 | # We need to stop ccache considering the current directory or the |
39 | # debug-prefix-map target directory to be significant when calculating | 43 | # debug-prefix-map target directory to be significant when calculating |
40 | # its hash. Without this the cache would be invalidated every time | 44 | # its hash. Without this the cache would be invalidated every time |