mkimage-profiles/lib/boot.mk
Anton Midyukov 58eea1911b boot.mk, efi, grub: Add support riscv64
For riscv64 available grub-efi.
Needed added support for mkimage (mki-copy-efiboot-chrooted).
2021-03-16 21:15:49 +07:00

24 lines
529 B
Makefile

ifndef MKIMAGE_PROFILES
$(error this makefile is designed to be included in toplevel one)
endif
ifeq (distro,$(IMAGE_CLASS))
# install media bootloader
boot/iso:
@$(call try,IMAGE_PACKTYPE,boot)
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call try,BOOTLOADER,isolinux)
endif
ifeq (,$(filter-out aarch64 riscv64,$(ARCH)))
@$(call try,BOOTLOADER,efiboot)
endif
ifeq (,$(filter-out e2k%,$(ARCH)))
@$(call try,BOOTLOADER,e2k-boot)
endif
ifeq (,$(filter-out ppc64le,$(ARCH)))
@$(call try,BOOTLOADER,ieee1275boot)
endif
endif