[oe-commits] [openembedded-core] branch master-next updated: fixup
git at git.openembedded.org
git at git.openembedded.org
Thu Mar 9 14:36:34 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
The following commit(s) were added to refs/heads/master-next by this push:
new 138bafd fixup
138bafd is described below
commit 138bafd11539e8cb147b18ba7850e296a561870a
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu Mar 9 14:35:07 2017 +0000
fixup
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/base.bbclass | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index acf146e..e3f8762 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -127,12 +127,14 @@ def setup_hosttools_dir(dest, toolsvar, d):
notfound = []
for tool in tools:
desttool = os.path.join(dest, tool)
- if desttool:
- if not os.path.exists(desttool):
- srctool = bb.utils.which(path, tool)
+ if not os.path.exists(desttool):
+ srctool = bb.utils.which(path, tool)
+ if "ccache" in srctool:
+ srctool = bb.utils.which(path, tool, direction=1)
+ if srctool:
os.symlink(srctool, desttool)
- else:
- notfound.append(tool)
+ else:
+ notfound.append(tool)
if notfound:
bb.fatal("These tools appear to be unavailable in PATH, please install them in order to proceed:\n%s" % " ".join(notfound))
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list