Machines can change EFI_PROVIDER which changes the way systemd-boot is built, meaning two machine may not build it the same way. As such, the arch should be MACHINE_ARCH.
Signed-off-by: Joshua Watt <[email protected]> --- meta/recipes-core/systemd/systemd-boot_259.5.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta/recipes-core/systemd/systemd-boot_259.5.bb b/meta/recipes-core/systemd/systemd-boot_259.5.bb index c887835806..787d4652a2 100644 --- a/meta/recipes-core/systemd/systemd-boot_259.5.bb +++ b/meta/recipes-core/systemd/systemd-boot_259.5.bb @@ -8,6 +8,8 @@ DEPENDS = "libcap util-linux gperf-native python3-jinja2-native python3-pyelftoo inherit meson pkgconfig gettext inherit deploy +PACKAGE_ARCH = "${MACHINE_ARCH}" + LDFLAGS =+ "${@ " ".join(d.getVar('LD').split()[1:])} " EFI_LD = "bfd" -- 2.54.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#239517): https://lists.openembedded.org/g/openembedded-core/message/239517 Mute This Topic: https://lists.openembedded.org/mt/119957551/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
