diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-06-09 17:32:13 -0700 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-11-01 11:29:17 -0700 |
| commit | 79bfb17b47e77af1dffcb7bac843965b15f00a9a (patch) | |
| tree | b77b71b092adc97f7f7f5790549474f8e0b40553 | |
| parent | dd7acc0e6086cdafe2c807dd9024c0a31195cc24 (diff) | |
| download | meta-freescale-79bfb17b47e77af1dffcb7bac843965b15f00a9a.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>
| -rw-r--r-- | recipes-bsp/imx-atf/imx-atf_2.8.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-bsp/imx-atf/imx-atf_2.8.bb b/recipes-bsp/imx-atf/imx-atf_2.8.bb index c1fd562cc..b6acd13d4 100644 --- a/recipes-bsp/imx-atf/imx-atf_2.8.bb +++ b/recipes-bsp/imx-atf/imx-atf_2.8.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 | ||
