]> 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>
Mon, 28 Jan 2019 16:56:26 +0000 (16:56 +0000)
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>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
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 ""