From 79bfb17b47e77af1dffcb7bac843965b15f00a9a Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 9 Jun 2023 17:32:13 -0700 Subject: [PATCH] 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 --- recipes-bsp/imx-atf/imx-atf_2.8.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): 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'))}"'