From fa6f2d28960ec7ac48117423bad9945b9b30265a Mon Sep 17 00:00:00 2001 From: California Sullivan Date: Thu, 6 Jul 2017 18:30:44 -0700 Subject: systemd-boot_%.bbappend: compile and deploy EFI stub The EFI stub can be used to directly boot a kernel + initramfs. This addition was taken from meta-refkit. Signed-off-by: California Sullivan Signed-off-by: Saul Wold --- common/recipes-bsp/systemd-boot/systemd-boot_%.bbappend | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'common') diff --git a/common/recipes-bsp/systemd-boot/systemd-boot_%.bbappend b/common/recipes-bsp/systemd-boot/systemd-boot_%.bbappend index c574041b..9e407ea5 100644 --- a/common/recipes-bsp/systemd-boot/systemd-boot_%.bbappend +++ b/common/recipes-bsp/systemd-boot/systemd-boot_%.bbappend @@ -13,3 +13,11 @@ SRCREV_intel-x86-common = "a1e2ef7ec912902d8142e7cb5830cbfb47dba86c" include systemd-boot/${EFI_PROVIDER}.inc PACKAGE_ARCH_intel-x86-common = "${INTEL_COMMON_PACKAGE_ARCH}" + +do_compile_append() { + oe_runmake linux${SYSTEMD_BOOT_EFI_ARCH}.efi.stub +} + +do_deploy_append() { + install ${B}/linux*.efi.stub ${DEPLOYDIR} +} -- cgit v1.2.3-54-g00ecf