diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2021-01-19 01:23:43 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-01-20 00:45:05 +0000 |
commit | 220a5fcb991d40ebfc8a7fe876ce448b0ac92a47 (patch) | |
tree | c146abab376a24b3f3088e54820d597d58a6a488 /meta/classes | |
parent | 496d8492249bdf01ac84715486e02cbfb3b8059a (diff) | |
download | poky-220a5fcb991d40ebfc8a7fe876ce448b0ac92a47.tar.gz |
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 <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/ccache.bbclass | 3 |
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 @@ | |||
1 | # | 1 | # |
2 | # Usage: | 2 | # Usage: |
3 | # - Install ccache package on the host distribution and set up a build directory | ||
4 | # | ||
5 | # - Enable ccache | 3 | # - Enable ccache |
6 | # Add the following line to a conffile such as conf/local.conf: | 4 | # Add the following line to a conffile such as conf/local.conf: |
7 | # INHERIT += "ccache" | 5 | # INHERIT += "ccache" |
@@ -53,6 +51,7 @@ python() { | |||
53 | # quilt-native doesn't need ccache since no c files | 51 | # quilt-native doesn't need ccache since no c files |
54 | if not (pn in ('ccache-native', 'quilt-native') or | 52 | if not (pn in ('ccache-native', 'quilt-native') or |
55 | bb.utils.to_boolean(d.getVar('CCACHE_DISABLE'))): | 53 | bb.utils.to_boolean(d.getVar('CCACHE_DISABLE'))): |
54 | d.appendVar('DEPENDS', ' ccache-native') | ||
56 | d.setVar('CCACHE', 'ccache ') | 55 | d.setVar('CCACHE', 'ccache ') |
57 | } | 56 | } |
58 | 57 | ||