90-build-distro.mk, boot.mk, syslinux: add ARM64 EFI support for distro targets

This commit is contained in:
Anton Midyukov 2019-07-10 12:44:40 +07:00 committed by Michael Shigorin
parent 01ee407543
commit e42bcdcb30
3 changed files with 10 additions and 1 deletions

View File

@ -32,6 +32,9 @@ endif
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
BOOT_TYPE := isolinux
endif
ifeq (,$(filter-out aarch64,$(ARCH)))
BOOT_TYPE := grubaa64boot
endif
ifeq (,$(filter-out ppc64le,$(ARCH)))
BOOT_TYPE := ieee1275boot
endif

View File

@ -10,7 +10,7 @@ cd "$WORKDIR/syslinux"
# validate just in case (see also stage1 Makefile)
case "$GLOBAL_BOOTLOADER" in
isolinux|syslinux|ieee1275boot) ;;
isolinux|syslinux|ieee1275boot|grubaa64boot) ;;
*) echo "error: weird GLOBAL_BOOTLOADER: \`$GLOBAL_BOOTLOADER'" >&2;
exit 1;;
esac

View File

@ -10,6 +10,12 @@ boot/iso: use/syslinux
@$(call set,BOOTLOADER,isolinux)
endif
# install aarch64 media bootloader
ifeq (,$(filter-out aarch64,$(ARCH)))
boot/iso:
@$(call set,BOOTLOADER,grubaa64boot)
endif
# firmware is the bootloader
ifeq (,$(filter-out e2k%,$(ARCH)))
boot/iso: