summaryrefslogtreecommitdiffstats
path: root/yocto-poky/meta/classes/ccache.bbclass
blob: 2cdce46932fc8176296d2aebe88d813170696935 (plain)
1
2
3
4
5
6
7
8
CCACHE = "${@bb.utils.which(d.getVar('PATH', True), 'ccache') and 'ccache '}"
export CCACHE_DIR ?= "${TMPDIR}/ccache/${MULTIMACH_HOST_SYS}/${PN}"
CCACHE_DISABLE[unexport] = "1"

do_configure[dirs] =+ "${CCACHE_DIR}"
do_kernel_configme[dirs] =+ "${CCACHE_DIR}"

do_clean[cleandirs] += "${CCACHE_DIR}"
OpenPOWER on IntegriCloud