systemd-boot: fix bbappend file to suit latest version

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@windriver.com>
Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
This commit is contained in:
Chen Qi 2018-03-05 10:03:28 +08:00 committed by California Sullivan
parent 11c2d33606
commit 90d32d53cf

View File

@ -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