From d37c0f3449e1a20e3acc490150fa4c7c6ea46bd1 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 10 Aug 2023 17:24:45 +0100 Subject: [PATCH] systemd-boot: use MESON_TARGET Instead of re-implementing do_compile, use MESON_TARGET. Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-core/systemd/systemd-boot_254.bb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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} -- 2.47.2