Skip to content

Commit

Permalink
imx-atf: Explicitly demand BFD linker
Browse files Browse the repository at this point in the history
This component uses BFD linker specific options which may not be
available when default ld is not GNU BFD LD

Fixes

| aarch64-yoe-linux-ld: error: unknown argument '--fix-cortex-a53-835769'

Signed-off-by: Khem Raj <[email protected]>
  • Loading branch information
kraj committed Nov 1, 2023
1 parent dd7acc0 commit 79bfb17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes-bsp/imx-atf/imx-atf_2.8.bb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def remove_options_tail (in_string):
from itertools import takewhile
return ' '.join(takewhile(lambda x: not x.startswith('-'), in_string.split(' ')))

EXTRA_OEMAKE += 'LD="${@remove_options_tail(d.getVar('LD'))}"'
EXTRA_OEMAKE += 'LD="${@remove_options_tail(d.getVar('LD'))}.bfd"'

EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"'

Expand Down

0 comments on commit 79bfb17

Please sign in to comment.