[OE-core] [PATCH 1/5] icecc: readlink -f on the recipe-sysroot gcc/g++
Douglas Royds
douglas.royds at taitradio.com
Wed Dec 19 22:59:44 UTC 2018
We were accidentally doing a readlink -f on simply 'gcc', for instance
Signed-off-by: Douglas Royds <douglas.royds at taitradio.com>
---
meta/classes/icecc.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index 2b189232cb..b251e9b5aa 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -303,7 +303,7 @@ def icecc_get_and_check_tool(bb, d, tool):
# compiler environment package.
t = icecc_get_tool(bb, d, tool)
if t:
- link_path = icecc_get_tool_link(tool, d)
+ link_path = icecc_get_tool_link(t, d)
if link_path == get_icecc(d):
bb.error("%s is a symlink to %s in PATH and this prevents icecc from working" % (t, get_icecc(d)))
return ""
--
2.17.1
More information about the Openembedded-core
mailing list