From: Ross Burton Date: Thu, 10 Aug 2023 16:24:45 +0000 (+0100) Subject: systemd-boot: use MESON_TARGET X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~93 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d37c0f3449e1a20e3acc490150fa4c7c6ea46bd1;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git systemd-boot: use MESON_TARGET Instead of re-implementing do_compile, use MESON_TARGET. Signed-off-by: Ross Burton 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 6240ee9339e..1b8ff6e3ab6 100644 --- a/meta/recipes-core/systemd/systemd-boot_254.bb +++ b/meta/recipes-core/systemd/systemd-boot_254.bb @@ -23,6 +23,8 @@ c_ld = ${@meson_array('EFI_LD', d)} EOF } +MESON_TARGET = "systemd-boot" + EXTRA_OEMESON += "-Defi=true \ -Dbootloader=true \ -Dman=false \ @@ -54,10 +56,6 @@ CFLAGS:append:libc-musl = " -D__DEFINED_wchar_t" COMPATIBLE_HOST = "(aarch64.*|arm.*|x86_64.*|i.86.*)-linux" COMPATIBLE_HOST:x86-x32 = "null" -do_compile() { - ninja systemd-boot -} - do_install() { install -d ${D}${EFI_FILES_PATH} install ${B}/src/boot/efi/systemd-boot*.efi ${D}${EFI_FILES_PATH}/${SYSTEMD_BOOT_IMAGE}