]> code.ossystems Code Review - openembedded-core.git/commitdiff
icecc: readlink -f on the recipe-sysroot gcc/g++
authorDouglas Royds <douglas.royds@taitradio.com>
Wed, 19 Dec 2018 22:59:44 +0000 (11:59 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Dec 2018 13:40:17 +0000 (13:40 +0000)
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>
meta/classes/icecc.bbclass

index 2b189232cb7322e761695d5fc03368079302adc5..b251e9b5aa7cc78f9c3e2dd29451f42478bf1b26 100644 (file)
@@ -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 ""