diff options
-rw-r--r-- | meta/classes/ccache.bbclass | 2 | ||||
-rw-r--r-- | meta/conf/ccache.conf | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass index fb3fbdf25c..b5457359ca 100644 --- a/meta/classes/ccache.bbclass +++ b/meta/classes/ccache.bbclass | |||
@@ -29,6 +29,8 @@ export CCACHE_BASEDIR ?= "${TMPDIR}" | |||
29 | # Used for sharing cache files after compiler is rebuilt | 29 | # Used for sharing cache files after compiler is rebuilt |
30 | export CCACHE_COMPILERCHECK ?= "%compiler% -dumpspecs" | 30 | export CCACHE_COMPILERCHECK ?= "%compiler% -dumpspecs" |
31 | 31 | ||
32 | export CCACHE_CONFIGPATH ?= "${COREBASE}/meta/conf/ccache.conf" | ||
33 | |||
32 | export CCACHE_DIR ?= "${CCACHE_TOP_DIR}/${MULTIMACH_TARGET_SYS}/${PN}" | 34 | export CCACHE_DIR ?= "${CCACHE_TOP_DIR}/${MULTIMACH_TARGET_SYS}/${PN}" |
33 | 35 | ||
34 | # We need to stop ccache considering the current directory or the | 36 | # We need to stop ccache considering the current directory or the |
diff --git a/meta/conf/ccache.conf b/meta/conf/ccache.conf new file mode 100644 index 0000000000..931012dec9 --- /dev/null +++ b/meta/conf/ccache.conf | |||
@@ -0,0 +1,2 @@ | |||
1 | max_size = 0 | ||
2 | cache_dir_levels = 1 | ||