boot.mk, efi, grub: Add support riscv64

For riscv64 available grub-efi.
Needed added support for mkimage (mki-copy-efiboot-chrooted).
This commit is contained in:
Anton Midyukov 2021-03-16 21:12:05 +07:00
parent 724d904cae
commit 58eea1911b
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
EFI_ARCHES := x86_64 aarch64
EFI_ARCHES := x86_64 aarch64 riscv64
+efi: use/efi/signed; @:

View File

@ -1,7 +1,7 @@
# default is plain text prompt
# NB: might be usbflash-ready hybrid iso
ifeq (,$(filter-out i586 x86_64 ppc64le aarch64,$(ARCH)))
ifeq (,$(filter-out i586 x86_64 ppc64le aarch64 riscv64,$(ARCH)))
use/grub: sub/stage1 $(ISOHYBRID:%=use/isohybrid)
@$(call add_feature)

View File

@ -10,7 +10,7 @@ boot/iso:
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call try,BOOTLOADER,isolinux)
endif
ifeq (,$(filter-out aarch64,$(ARCH)))
ifeq (,$(filter-out aarch64 riscv64,$(ARCH)))
@$(call try,BOOTLOADER,efiboot)
endif
ifeq (,$(filter-out e2k%,$(ARCH)))