mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
d6f2a6ad25
commit
b903dfe925
@@ -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 ""
|
||||
|
||||
Reference in New Issue
Block a user