Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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}" |