meta-intel/recipes-bsp/systemd-boot/systemd-boot_%.bbappend
Chen Qi 90d32d53cf 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>
2018-03-20 09:06:21 -07:00

19 lines
558 B
Plaintext

FILESEXTRAPATHS_prepend_intel-x86-common := "${THISDIR}/systemd-boot:"
SRC_URI_append_intel-x86-common = " \
file://0001-efi-boot.c-workaround-for-Joule-BIOS-hang.patch \
"
PACKAGE_ARCH_intel-x86-common = "${INTEL_COMMON_PACKAGE_ARCH}"
do_compile_append_intel-x86-common() {
ninja src/boot/efi/linux${SYSTEMD_BOOT_EFI_ARCH}.efi.stub
}
do_deploy_append_intel-x86-common() {
install ${B}/src/boot/efi/linux*.efi.stub ${DEPLOYDIR}
}
# includes rmc-boot.inc if rmc-boot is the EFI_PROVIDER
include systemd-boot/${EFI_PROVIDER}.inc