From 220a5fcb991d40ebfc8a7fe876ce448b0ac92a47 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Tue, 19 Jan 2021 01:23:43 -0800 Subject: Revert "ccache.bbclass: use ccache from host distribution" This reverts commit f5b29367af4d8e5daea5771264774aa49519f9a8. Will use ccache-native which is more reliable. (From OE-Core rev: 1b659623430e1a6e6dd266e65bab7ca8155a7138) Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- meta/classes/ccache.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'meta/classes') 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 ') } -- cgit v1.2.3-54-g00ecf