From: Ross Burton Date: Thu, 10 Aug 2023 16:24:46 +0000 (+0100) Subject: systemd-boot: improve cross file generation X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=302551de19edb1eb7333a6d1d5fdddacdbb9c349;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git systemd-boot: improve cross file generation The meson.cross generated by the class already has c and objcopy entries, so these can be removed. Pass the --cross-file option in MESON_CROSS_FILE to ensure the ordering is always correct. Signed-off-by: Ross Burton Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/systemd/systemd-boot_254.bb b/meta/recipes-core/systemd/systemd-boot_254.bb index 1b8ff6e3ab6..642a5fafe74 100644 --- a/meta/recipes-core/systemd/systemd-boot_254.bb +++ b/meta/recipes-core/systemd/systemd-boot_254.bb @@ -13,22 +13,21 @@ 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[vardeps] += "EFI_LD" do_write_config:append() { cat >${WORKDIR}/meson-${PN}.cross <