diff options
| author | Douglas Royds <douglas.royds@taitradio.com> | 2018-12-20 11:59:44 +1300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-02-06 16:38:30 +0000 |
| commit | b903dfe92546636799929518df5433784beef72b (patch) | |
| tree | fec75f6bf4ab0f942d16a7160963d8e63e176125 /meta/classes | |
| parent | d6f2a6ad258d380d5b9ea8afc98b578155640580 (diff) | |
| download | poky-b903dfe92546636799929518df5433784beef72b.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)
(From OE-Core rev: 193eb75f21daa131b53358a4a1bf63028fe2a28c)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
| -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 "" |
