summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDouglas Royds <douglas.royds@taitradio.com>2018-12-20 11:59:44 +1300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-19 23:58:50 +0000
commit35a3bce9165f5bc0f538f32bb7e21595356835b6 (patch)
treed6f217ff59a0e22f426a8fdbf29ad008e684ff03
parent75be3b2fb51539ae620b1422704458c18061fd0b (diff)
downloadopenembedded-core-contrib-35a3bce9165f5bc0f538f32bb7e21595356835b6.tar.gz
openembedded-core-contrib-35a3bce9165f5bc0f538f32bb7e21595356835b6.tar.bz2
openembedded-core-contrib-35a3bce9165f5bc0f538f32bb7e21595356835b6.zip
icecc: readlink -f on the recipe-sysroot gcc/g++
We were accidentally doing a readlink -f on simply 'gcc', for instance Signed-off-by: Douglas Royds <douglas.royds@taitradio.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/icecc.bbclass2
1 files changed, 1 insertions, 1 deletions
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 ""