M7350/oe-core/meta/classes/ccache.bbclass

9 lines
300 B
Plaintext
Raw Permalink Normal View History

2024-09-09 08:57:42 +00:00
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}"