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

# Conflicts:
#	features.in/build-distro/lib/90-build-distro.mk
This commit is contained in:
Anton Midyukov 2019-07-10 12:44:40 +07:00 committed by Alexey Shabalin
parent 1370bfb150
commit 7d1f1b11dd
2 changed files with 9 additions and 0 deletions

View File

@ -35,6 +35,9 @@ endif
ifeq (,$(filter-out ppc64le,$(ARCH)))
BOOT_TYPE := ieee1275boot
endif
ifeq (,$(filter-out aarch64,$(ARCH)))
BOOT_TYPE := grubaa64boot
endif
endif
all: | $(GLOBAL_DEBUG) prep copy-subdirs copy-tree run-scripts pack-image \

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: