icecc: Trivial simplification

(From OE-Core rev: fa6bae80bc3392bf99ce53bbe19a0e05dbd0c4ee)

(From OE-Core rev: 57673fe89a9c597d7e1d657a0710f3c60df3c28d)

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:
Douglas Royds
2018-12-20 11:59:45 +13:00
committed by Richard Purdie
parent b903dfe925
commit f05f48d425

View File

@@ -305,7 +305,7 @@ def icecc_get_and_check_tool(bb, d, tool):
if t:
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)))
bb.error("%s is a symlink to %s in PATH and this prevents icecc from working" % (t, link_path))
return ""
else:
return t