]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
u-boot: Ensure we use BFD as linker even if using GCC for it
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 30 Aug 2024 00:43:24 +0000 (21:43 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 1 Sep 2024 07:19:12 +0000 (08:19 +0100)
commitd36ee7a87c0d89b2820eea4bfcdae342adc75019
treefa5808546713a5f903d701e991c904ccfa66d50e
parentd6cb53c0773d28f57b5699125ef825936d4725d1
u-boot: Ensure we use BFD as linker even if using GCC for it

If we are using 'ld-is-gold' as DISTRO_FEATURE, the U-Boot Makefile has
mechanisms to ensure that we use BFD as linker. However, this does not
work for the GCC when it is used as linking tool.

To support that, we added explicit BFD use whenever we have the
DISTRO_FEATURE feature enabled.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/u-boot/u-boot.inc