mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 09:32:11 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
496d849224
commit
220a5fcb99
@@ -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 ')
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user