We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c73e83b + 14c0b87 commit 28aeeebCopy full SHA for 28aeeeb
recipes-bsp/imx-atf/imx-atf_2.10.bb
@@ -48,7 +48,9 @@ def remove_options_tail (in_string):
48
from itertools import takewhile
49
return ' '.join(takewhile(lambda x: not x.startswith('-'), in_string.split(' ')))
50
51
-EXTRA_OEMAKE += 'LD="${@remove_options_tail(d.getVar('LD'))}.bfd"'
+# LD can have linker suffix in its name e.g. aarch64-yoe-linux-ld.lld so we need to
52
+# drop .lld as well along with options from LD
53
+EXTRA_OEMAKE += 'LD="${HOST_PREFIX}ld.bfd"'
54
55
EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"'
56
0 commit comments