summaryrefslogtreecommitdiffstats
path: root/meta/classes/ccache.bbclass
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2016-08-11 08:38:54 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-17 09:35:40 (GMT)
commiteea2de9c70b93a204cbc1063a4b5b03602098024 (patch)
tree7f35f38206ae6b070505b6f6eaa6bf4a69230c21 /meta/classes/ccache.bbclass
parent51d74f5673d5549d5a8ce74650307bd973ce46ac (diff)
downloadpoky-eea2de9c70b93a204cbc1063a4b5b03602098024.tar.gz
ccache.bbclass: don't remove CCACHE_DIR as part of do_clean
Removing the ccache directory as part of do_clean is unnecessarily conservative and defeats many of the benefits of ccache. The original justification for this behaviour was to avoid confusion in the corner case that the ccache directory becomes corrupted. However the standard approach for dealing with such highly unlikely corner cases (ie manually removing tmp) would also recover from corruption of the ccache directories, without the negative impact of defeating ccache during normal development. (From OE-Core rev: 6ae6680ad8d51eff756dcb6500fca2530e3e3e73) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> 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, 0 insertions, 2 deletions
diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass
index 2cdce46..2e9837c 100644
--- a/meta/classes/ccache.bbclass
+++ b/meta/classes/ccache.bbclass
@@ -4,5 +4,3 @@ CCACHE_DISABLE[unexport] = "1"
4 4
5do_configure[dirs] =+ "${CCACHE_DIR}" 5do_configure[dirs] =+ "${CCACHE_DIR}"
6do_kernel_configme[dirs] =+ "${CCACHE_DIR}" 6do_kernel_configme[dirs] =+ "${CCACHE_DIR}"
7
8do_clean[cleandirs] += "${CCACHE_DIR}"