diff options
Diffstat (limited to 'meta')
-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 fb3fbdf25cd..b5457359ca3 100644 --- a/meta/classes/ccache.bbclass +++ b/meta/classes/ccache.bbclass @@ -29,6 +29,8 @@ export CCACHE_BASEDIR ?= "${TMPDIR}" # Used for sharing cache files after compiler is rebuilt export CCACHE_COMPILERCHECK ?= "%compiler% -dumpspecs" +export CCACHE_CONFIGPATH ?= "${COREBASE}/meta/conf/ccache.conf" + export CCACHE_DIR ?= "${CCACHE_TOP_DIR}/${MULTIMACH_TARGET_SYS}/${PN}" # 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 00000000000..931012dec99 --- /dev/null +++ b/meta/conf/ccache.conf @@ -0,0 +1,2 @@ +max_size = 0 +cache_dir_levels = 1 |