|
@@ -224,14 +224,14 @@ $(eval $(host-generic-package))
|
|
MKIMAGE = $(HOST_DIR)/bin/mkimage
|
|
MKIMAGE = $(HOST_DIR)/bin/mkimage
|
|
|
|
|
|
# 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
|
|
# 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
|
|
|
|
|
|
+# NORMALIZED_ARCH can be arm64 arc arm blackfin m68k microblaze mips nios2 powerpc sh sparc i386 x86_64 xtensa
|
|
# For i386, we need to convert
|
|
# For i386, we need to convert
|
|
# For openrisc, we need to convert
|
|
# For openrisc, we need to convert
|
|
-# For others, we'll just keep KERNEL_ARCH
|
|
|
|
-ifeq ($(KERNEL_ARCH),i386)
|
|
|
|
|
|
+# For others, we'll just keep NORMALIZED_ARCH
|
|
|
|
+ifeq ($(NORMALIZED_ARCH),i386)
|
|
MKIMAGE_ARCH = x86
|
|
MKIMAGE_ARCH = x86
|
|
-else ifeq ($(KERNEL_ARCH),openrisc)
|
|
|
|
|
|
+else ifeq ($(NORMALIZED_ARCH),openrisc)
|
|
MKIMAGE_ARCH = or1k
|
|
MKIMAGE_ARCH = or1k
|
|
else
|
|
else
|
|
-MKIMAGE_ARCH = $(KERNEL_ARCH)
|
|
|
|
|
|
+MKIMAGE_ARCH = $(NORMALIZED_ARCH)
|
|
endif
|
|
endif
|