summaryrefslogtreecommitdiff
path: root/meta/classes/ccache.bbclass
blob: 10f9b9f9aa0da3af0b9a4b8f5cb2097db565ea97 (plain)
1
2
3
4
5
CCACHE = "${@bb.which(d.getVar('PATH', True), 'ccache') and 'ccache '}"
export CCACHE_DIR = "${TMPDIR}/ccache/${MULTIMACH_HOST_SYS}/${PN}"

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