lib/boot.mk: Set IMAGE_PACKTYPE to isodata for e2k

This commit is contained in:
Anton Midyukov 2021-04-15 13:19:08 +07:00
parent c52002e9db
commit e8fcdaf8e3

View File

@ -6,7 +6,6 @@ ifeq (distro,$(IMAGE_CLASS))
# install media bootloader # install media bootloader
boot/iso: boot/iso:
@$(call try,IMAGE_PACKTYPE,boot)
ifeq (,$(filter-out i586 x86_64,$(ARCH))) ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call try,BOOTLOADER,isolinux) @$(call try,BOOTLOADER,isolinux)
endif endif
@ -15,9 +14,11 @@ ifeq (,$(filter-out aarch64 riscv64,$(ARCH)))
endif endif
ifeq (,$(filter-out e2k%,$(ARCH))) ifeq (,$(filter-out e2k%,$(ARCH)))
@$(call try,BOOTLOADER,e2kboot) @$(call try,BOOTLOADER,e2kboot)
@$(call set,IMAGE_PACKTYPE,isodata)
endif endif
ifeq (,$(filter-out ppc64le,$(ARCH))) ifeq (,$(filter-out ppc64le,$(ARCH)))
@$(call try,BOOTLOADER,ieee1275boot) @$(call try,BOOTLOADER,ieee1275boot)
endif endif
@$(call try,IMAGE_PACKTYPE,boot)
endif endif