[yocto] [meta-intel][PATCH] systemd-boot: fix bbappend file to suit latest version

Chen Qi Qi.Chen at windriver.com
Sun Mar 4 18:03:28 PST 2018


Fix the bbappend file to suit the latest systemd version.

As systemd has now dropped autotools support, using ninja
instead of make in do_compile.

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
---
 recipes-bsp/systemd-boot/systemd-boot_%.bbappend | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/systemd-boot/systemd-boot_%.bbappend b/recipes-bsp/systemd-boot/systemd-boot_%.bbappend
index 9e6cc16..46dd8a4 100644
--- a/recipes-bsp/systemd-boot/systemd-boot_%.bbappend
+++ b/recipes-bsp/systemd-boot/systemd-boot_%.bbappend
@@ -7,11 +7,11 @@ SRC_URI_append_intel-x86-common = " \
 PACKAGE_ARCH_intel-x86-common = "${INTEL_COMMON_PACKAGE_ARCH}"
 
 do_compile_append_intel-x86-common() {
-	oe_runmake linux${SYSTEMD_BOOT_EFI_ARCH}.efi.stub
+	ninja src/boot/efi/linux${SYSTEMD_BOOT_EFI_ARCH}.efi.stub
 }
 
 do_deploy_append_intel-x86-common() {
-	install ${B}/linux*.efi.stub ${DEPLOYDIR}
+	install ${B}/src/boot/efi/linux*.efi.stub ${DEPLOYDIR}
 }
 
 # includes rmc-boot.inc if rmc-boot is the EFI_PROVIDER
-- 
1.9.1




More information about the yocto mailing list