]> code.ossystems Code Review - openembedded-core.git/commitdiff
ccache: Ensure CCACHE_DIR is cleaned by do_clean task
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 9 Jul 2012 11:40:29 +0000 (11:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Jul 2012 13:24:54 +0000 (14:24 +0100)
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>
meta/classes/ccache.bbclass

index 5aa2da2df4bfc3ce3b78504fc57e3dee227397f5..cd06a4bfdc8bf182ef0c0ce0f669562e4318f027 100644 (file)
@@ -4,3 +4,5 @@ CCACHE_DISABLE[unexport] = "1"
 
 do_configure[dirs] =+ "${CCACHE_DIR}"
 do_kernel_configme[dirs] =+ "${CCACHE_DIR}"
+
+do_clean[cleandirs] += "${CCACHE_DIR}"