From: Richard Purdie Date: Mon, 9 Jul 2012 11:40:29 +0000 (+0000) Subject: ccache: Ensure CCACHE_DIR is cleaned by do_clean task X-Git-Tag: 2015-4~10049 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=ddf52d0161096b089fad8f3ace69b6515d7b7226;p=openembedded-core.git ccache: Ensure CCACHE_DIR is cleaned by do_clean task This ensures a rebuild does really build from scratch when ccache is in use. [YOCTO #2696] Signed-off-by: Richard Purdie --- diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass index 5aa2da2df4..cd06a4bfdc 100644 --- a/meta/classes/ccache.bbclass +++ b/meta/classes/ccache.bbclass @@ -4,3 +4,5 @@ CCACHE_DISABLE[unexport] = "1" do_configure[dirs] =+ "${CCACHE_DIR}" do_kernel_configme[dirs] =+ "${CCACHE_DIR}" + +do_clean[cleandirs] += "${CCACHE_DIR}"