boot.mk 565 Bytes
Newer Older
1 2 3 4 5
ifndef MKIMAGE_PROFILES
$(error this makefile is designed to be included in toplevel one)
endif

ifeq (distro,$(IMAGE_CLASS))
6

7 8
# install media bootloader
boot/iso:
9
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
10
	@$(call try,BOOTLOADER,isolinux)
11
endif
12
ifeq (,$(filter-out aarch64 riscv64,$(ARCH)))
13
	@$(call try,BOOTLOADER,efiboot)
14
endif
15
ifeq (,$(filter-out e2k%,$(ARCH)))
16
	@$(call try,BOOTLOADER,e2kboot)
17
	@$(call set,IMAGE_PACKTYPE,isodata)
18
endif
19
ifeq (,$(filter-out ppc64le,$(ARCH)))
20
	@$(call try,BOOTLOADER,ieee1275boot)
21
endif
22
	@$(call try,IMAGE_PACKTYPE,boot)
23

24
endif