|
@@ -206,15 +206,15 @@ $(eval $(host-generic-package))
|
|
|
|
|
|
MKIMAGE = $(HOST_DIR)/bin/mkimage
|
|
|
|
|
|
-# mkimage supports arm blackfin m68k microblaze mips mips64 nios2 powerpc ppc sh sparc sparc64 x86
|
|
|
+# mkimage supports alpha arc arm arm64 blackfin ia64 invalid m68k microblaze mips mips64 nds32 nios2 or1k powerpc riscv s390 sandbox sh sparc sparc64 x86 x86_64 xtensa
|
|
|
# KERNEL_ARCH can be arm64 arc arm blackfin m68k microblaze mips nios2 powerpc sh sparc i386 x86_64 xtensa
|
|
|
-# For arm64, arc, xtensa we'll just keep KERNEL_ARCH
|
|
|
-# For mips64, we'll just keep mips
|
|
|
-# For i386 and x86_64, we need to convert
|
|
|
-ifeq ($(KERNEL_ARCH),x86_64)
|
|
|
-MKIMAGE_ARCH = x86
|
|
|
-else ifeq ($(KERNEL_ARCH),i386)
|
|
|
+# For i386, we need to convert
|
|
|
+# For openrisc, we need to convert
|
|
|
+# For others, we'll just keep KERNEL_ARCH
|
|
|
+ifeq ($(KERNEL_ARCH),i386)
|
|
|
MKIMAGE_ARCH = x86
|
|
|
+else ifeq ($(KERNEL_ARCH),openrisc)
|
|
|
+MKIMAGE_ARCH = or1k
|
|
|
else
|
|
|
MKIMAGE_ARCH = $(KERNEL_ARCH)
|
|
|
endif
|