mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 18:32:15 +02:00
systemd-boot: use MESON_TARGET
Instead of re-implementing do_compile, use MESON_TARGET. (From OE-Core rev: d37c0f3449e1a20e3acc490150fa4c7c6ea46bd1) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
de6505c8fa
commit
c854927701
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user