mkimage-profiles/lib/boot.mk

25 lines
565 B
Makefile
Raw Permalink Normal View History

ifndef MKIMAGE_PROFILES
$(error this makefile is designed to be included in toplevel one)
endif
ifeq (distro,$(IMAGE_CLASS))
# install media bootloader
boot/iso:
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)))
2021-04-12 20:04:58 +03:00
@$(call try,BOOTLOADER,e2kboot)
@$(call set,IMAGE_PACKTYPE,isodata)
endif
ifeq (,$(filter-out ppc64le,$(ARCH)))
@$(call try,BOOTLOADER,ieee1275boot)
endif
@$(call try,IMAGE_PACKTYPE,boot)
endif