diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-08-05 08:26:20 -0700 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-08-09 21:43:33 +0100 |
| commit | be13263987b6142d5a53955232bf555344ef2198 (patch) | |
| tree | 8eb6d70f529b7fa1f8ce7ee102cf49965b09a288 | |
| parent | c558fddff7a2c95c7bb770e5ea8b928d7eb6f800 (diff) | |
| download | poky-be13263987b6142d5a53955232bf555344ef2198.tar.gz | |
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>
| -rw-r--r-- | meta/recipes-core/systemd/systemd-boot_254.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd-boot_254.bb b/meta/recipes-core/systemd/systemd-boot_254.bb index e887e636e8..5d69cf83ab 100644 --- a/meta/recipes-core/systemd/systemd-boot_254.bb +++ b/meta/recipes-core/systemd/systemd-boot_254.bb | |||
| @@ -11,6 +11,7 @@ inherit deploy | |||
| 11 | LDFLAGS:prepend = "${@ " ".join(d.getVar('LD').split()[1:])} " | 11 | LDFLAGS:prepend = "${@ " ".join(d.getVar('LD').split()[1:])} " |
| 12 | 12 | ||
| 13 | EFI_LD = "bfd" | 13 | EFI_LD = "bfd" |
| 14 | LDFLAGS:append = " -fuse-ld=${EFI_LD}" | ||
| 14 | 15 | ||
| 15 | do_write_config[vardeps] += "CC OBJCOPY EFI_LD" | 16 | do_write_config[vardeps] += "CC OBJCOPY EFI_LD" |
| 16 | do_write_config:append() { | 17 | do_write_config:append() { |
