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

ifeq (distro,$(IMAGE_CLASS))
6

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

23
endif