mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
systemd-boot: Ensure EFI_LD is also passed to compiler driver
Where compiler driver is used for linking ensure bfd linker is used as well so its consistent when called directly or via compiler (From OE-Core rev: d497362d52bd934101e7d7a49eeee0fffb0f4f46) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -11,6 +11,7 @@ inherit deploy
|
||||
LDFLAGS:prepend = "${@ " ".join(d.getVar('LD').split()[1:])} "
|
||||
|
||||
EFI_LD = "bfd"
|
||||
LDFLAGS:append = " -fuse-ld=${EFI_LD}"
|
||||
|
||||
do_write_config[vardeps] += "CC OBJCOPY EFI_LD"
|
||||
do_write_config:append() {
|
||||
|
||||
Reference in New Issue
Block a user