summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2021-01-19 01:23:43 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-01-20 00:41:39 +0000
commit1b659623430e1a6e6dd266e65bab7ca8155a7138 (patch)
tree5faf18a966d20f5305f2efb0d93fc5655c5196be /meta/classes
parentd430f425e1a5725e93833a652e5c6988576f7347 (diff)
downloadopenembedded-core-contrib-1b659623430e1a6e6dd266e65bab7ca8155a7138.tar.gz
Revert "ccache.bbclass: use ccache from host distribution"
This reverts commit f5b29367af4d8e5daea5771264774aa49519f9a8. Will use ccache-native which is more reliable. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/ccache.bbclass3
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/ccache.bbclass b/meta/classes/ccache.bbclass
index f00fafc292..fc4745609c 100644
--- a/meta/classes/ccache.bbclass
+++ b/meta/classes/ccache.bbclass
@@ -1,7 +1,5 @@
#
# Usage:
-# - Install ccache package on the host distribution and set up a build directory
-#
# - Enable ccache
# Add the following line to a conffile such as conf/local.conf:
# INHERIT += "ccache"
@@ -53,6 +51,7 @@ python() {
# quilt-native doesn't need ccache since no c files
if not (pn in ('ccache-native', 'quilt-native') or
bb.utils.to_boolean(d.getVar('CCACHE_DISABLE'))):
+ d.appendVar('DEPENDS', ' ccache-native')
d.setVar('CCACHE', 'ccache ')
}