a5e31cb713
This ensures a rebuild does really build from scratch when ccache is in use. [YOCTO #2696] (From OE-Core rev: ddf52d0161096b089fad8f3ace69b6515d7b7226) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
9 lines
293 B
Text
9 lines
293 B
Text
CCACHE = "${@bb.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}"
|