mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02:00

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
Plaintext
9 lines
293 B
Plaintext
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}"
|