[oe-commits] Richard Purdie : ccache: Ensure CCACHE_DIR is cleaned by do_clean task

git at git.openembedded.org git at git.openembedded.org
Tue Jul 10 13:27:21 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: ddf52d0161096b089fad8f3ace69b6515d7b7226
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=ddf52d0161096b089fad8f3ace69b6515d7b7226

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Mon Jul  9 11:40:29 2012 +0000

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 at linuxfoundation.org>

---

 meta/classes/ccache.bbclass |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass
index 5aa2da2..cd06a4b 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}"





More information about the Openembedded-commits mailing list