diff options
author | Khem Raj <raj.khem@gmail.com> | 2023-06-09 17:32:13 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2023-06-09 17:37:59 -0700 |
commit | 535a46d8fd17ef4fe5588e90c6fd741ef8537a28 (patch) | |
tree | fd8ef2680379df6701a6d154838b726b987aa73f /recipes-bsp | |
parent | 1a029259ce04f5c8f7321f9b454afacf16a375a4 (diff) | |
download | meta-freescale-535a46d8fd17ef4fe5588e90c6fd741ef8537a28.tar.gz |
imx-atf: Explicitly demand BFD linker
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 <raj.khem@gmail.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/imx-atf/imx-atf_2.6.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/imx-atf/imx-atf_2.6.bb b/recipes-bsp/imx-atf/imx-atf_2.6.bb index ea83b9e8..40b13fff 100644 --- a/recipes-bsp/imx-atf/imx-atf_2.6.bb +++ b/recipes-bsp/imx-atf/imx-atf_2.6.bb | |||
@@ -48,7 +48,7 @@ def remove_options_tail (in_string): | |||
48 | from itertools import takewhile | 48 | from itertools import takewhile |
49 | return ' '.join(takewhile(lambda x: not x.startswith('-'), in_string.split(' '))) | 49 | return ' '.join(takewhile(lambda x: not x.startswith('-'), in_string.split(' '))) |
50 | 50 | ||
51 | EXTRA_OEMAKE += 'LD="${@remove_options_tail(d.getVar('LD'))}"' | 51 | EXTRA_OEMAKE += 'LD="${@remove_options_tail(d.getVar('LD'))}.bfd"' |
52 | 52 | ||
53 | EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"' | 53 | EXTRA_OEMAKE += 'CC="${@remove_options_tail(d.getVar('CC'))}"' |
54 | 54 | ||