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 9e61dfa3c6..c9bc3e2a91 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 (#239923): https://lists.openembedded.org/g/openembedded-core/message/239923 Mute This Topic: https://lists.openembedded.org/mt/120054253/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
