diff options
| author | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
|---|---|---|
| committer | Tudor Florea <tudor.florea@enea.com> | 2015-10-09 22:59:03 +0200 |
| commit | 972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch) | |
| tree | 97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/classes/ccache.bbclass | |
| download | poky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz | |
initial commit for Enea Linux 5.0 arm
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}" | ||
