[OE-core] [PATCH 1/4] base.bbclass: Remove invalid ccache related code
Robert Yang
liezhi.yang at windriver.com
Mon Dec 10 02:24:21 UTC 2018
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.yang at 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
More information about the Openembedded-core
mailing list