summaryrefslogtreecommitdiffstats
path: root/meta/classes/ccache.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-09 11:40:29 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-10 14:24:54 +0100
commitddf52d0161096b089fad8f3ace69b6515d7b7226 (patch)
tree30f6b7bc37aa78e95ead5772a889c6bb2f12c7e7 /meta/classes/ccache.bbclass
parentbfaaeb44c5023e2d2a9414c07694c75fa527283b (diff)
downloadopenembedded-core-ddf52d0161096b089fad8f3ace69b6515d7b7226.tar.gz
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 <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/ccache.bbclass')
-rw-r--r--meta/classes/ccache.bbclass2
1 files changed, 2 insertions, 0 deletions
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}"