diff options
author | Douglas Royds <douglas.royds@taitradio.com> | 2018-12-20 11:59:44 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-20 14:53:55 +0000 |
commit | 40fd208847d086264c2e716ec4b221f42f1838a3 (patch) | |
tree | 616fb3d51f6387e4401c4b35c7f2336e2f9450f5 /meta | |
parent | 8d2668bc98c3dd65a6425d9f24c8d0de2e91dd48 (diff) | |
download | poky-40fd208847d086264c2e716ec4b221f42f1838a3.tar.gz |
icecc: readlink -f on the recipe-sysroot gcc/g++
We were accidentally doing a readlink -f on simply 'gcc', for instance
(From OE-Core rev: 6d6788a3ea45d9693743d9b3319fb0368a4d5d33)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/icecc.bbclass | 2 |
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): | |||
303 | # compiler environment package. | 303 | # compiler environment package. |
304 | t = icecc_get_tool(bb, d, tool) | 304 | t = icecc_get_tool(bb, d, tool) |
305 | if t: | 305 | if t: |
306 | link_path = icecc_get_tool_link(tool, d) | 306 | link_path = icecc_get_tool_link(t, d) |
307 | if link_path == get_icecc(d): | 307 | if link_path == get_icecc(d): |
308 | bb.error("%s is a symlink to %s in PATH and this prevents icecc from working" % (t, get_icecc(d))) | 308 | bb.error("%s is a symlink to %s in PATH and this prevents icecc from working" % (t, get_icecc(d))) |
309 | return "" | 309 | return "" |