diff options
author | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
---|---|---|
committer | Tudor Florea <tudor.florea@enea.com> | 2014-10-16 03:05:19 +0200 |
commit | c527fd1f14c27855a37f2e8ac5346ce8d940ced2 (patch) | |
tree | bb002c1fdf011c41dbd2f0927bed23ecb5f83c97 /meta/classes/ccache.bbclass | |
download | poky-daisy-140929.tar.gz |
initial commit for Enea Linux 4.0-140929daisy-140929
Migrated from the internal git server on the daisy-enea-point-release branch
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
Diffstat (limited to 'meta/classes/ccache.bbclass')
-rw-r--r-- | meta/classes/ccache.bbclass | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass new file mode 100644 index 0000000000..2cdce46932 --- /dev/null +++ b/meta/classes/ccache.bbclass | |||
@@ -0,0 +1,8 @@ | |||
1 | CCACHE = "${@bb.utils.which(d.getVar('PATH', True), 'ccache') and 'ccache '}" | ||
2 | export CCACHE_DIR ?= "${TMPDIR}/ccache/${MULTIMACH_HOST_SYS}/${PN}" | ||
3 | CCACHE_DISABLE[unexport] = "1" | ||
4 | |||
5 | do_configure[dirs] =+ "${CCACHE_DIR}" | ||
6 | do_kernel_configme[dirs] =+ "${CCACHE_DIR}" | ||
7 | |||
8 | do_clean[cleandirs] += "${CCACHE_DIR}" | ||