The code is in setup_hosttools_dir(), it searches ccache in PATH in reverse order, I can't figure out what it is used for, maybe it is aimed to use host's ccache rather than recipe-sysroot-native/usr/bin/ccache, but the later one isn't in original PATH, so remove the code.
Signed-off-by: Robert Yang <liezhi.y...@windriver.com> --- meta/classes/base.bbclass | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index e715ffa..36b9c15 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -122,8 +122,6 @@ def setup_hosttools_dir(dest, toolsvar, d, fatal=True): desttool = os.path.join(dest, tool) if not os.path.exists(desttool): srctool = bb.utils.which(path, tool, executable=True) - if "ccache" in srctool: - srctool = bb.utils.which(path, tool, executable=True, direction=1) if srctool: os.symlink(srctool, desttool) else: -- 2.10.2 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core