diff options
Diffstat (limited to 'meta/classes/ccache.bbclass')
| -rw-r--r-- | meta/classes/ccache.bbclass | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass index 262db6672c..7c42e66bdf 100644 --- a/meta/classes/ccache.bbclass +++ b/meta/classes/ccache.bbclass | |||
| @@ -44,16 +44,6 @@ export CCACHE_CONFIGPATH ?= "${COREBASE}/meta/conf/ccache.conf" | |||
| 44 | 44 | ||
| 45 | export CCACHE_DIR ?= "${CCACHE_TOP_DIR}/${MULTIMACH_TARGET_SYS}/${PN}" | 45 | export CCACHE_DIR ?= "${CCACHE_TOP_DIR}/${MULTIMACH_TARGET_SYS}/${PN}" |
| 46 | 46 | ||
| 47 | # Fixed errors: | ||
| 48 | # ccache: error: Failed to create directory /run/user/0/ccache-tmp: Permission denied | ||
| 49 | export CCACHE_TEMPDIR ?= "${CCACHE_DIR}/tmp" | ||
| 50 | |||
| 51 | # We need to stop ccache considering the current directory or the | ||
| 52 | # debug-prefix-map target directory to be significant when calculating | ||
| 53 | # its hash. Without this the cache would be invalidated every time | ||
| 54 | # ${PV} or ${PR} change. | ||
| 55 | export CCACHE_NOHASHDIR ?= "1" | ||
| 56 | |||
| 57 | python() { | 47 | python() { |
| 58 | """ | 48 | """ |
| 59 | Enable ccache for the recipe | 49 | Enable ccache for the recipe |
