diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-09 11:40:29 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-10 14:25:38 +0100 |
commit | a5e31cb7132136de8836305edf9f5731b2e8886b (patch) | |
tree | b915860b4e258ed476f1950137f24d00123458a6 /meta/classes/ccache.bbclass | |
parent | 064ef460b2a7b08d7bf2fd0a613f01d1cea33955 (diff) | |
download | poky-a5e31cb7132136de8836305edf9f5731b2e8886b.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]
(From OE-Core rev: ddf52d0161096b089fad8f3ace69b6515d7b7226)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/ccache.bbclass')
-rw-r--r-- | 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 5aa2da2df4..cd06a4bfdc 100644 --- a/meta/classes/ccache.bbclass +++ b/meta/classes/ccache.bbclass | |||
@@ -4,3 +4,5 @@ CCACHE_DISABLE[unexport] = "1" | |||
4 | 4 | ||
5 | do_configure[dirs] =+ "${CCACHE_DIR}" | 5 | do_configure[dirs] =+ "${CCACHE_DIR}" |
6 | do_kernel_configme[dirs] =+ "${CCACHE_DIR}" | 6 | do_kernel_configme[dirs] =+ "${CCACHE_DIR}" |
7 | |||
8 | do_clean[cleandirs] += "${CCACHE_DIR}" | ||