mirror of
https://git.yoctoproject.org/poky
synced 2026-04-28 15:32:27 +02:00
kernel-fitimage: Fix bad image type replacement for aarch64
When using kernel-fitimage class with aarch64, the image type has to be Image not zImage. This patch fixes the bad image type replacement for aarch64 (From OE-Core rev: d14adead5861007ac7e95c32396491f907ab9f8f) Signed-off-by: Thomas Perrot <thomas.perrot@tupi.fr> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6da46fce2b
commit
a14916daaa
@@ -7,9 +7,12 @@ python __anonymous () {
|
||||
depends = "%s u-boot-mkimage-native dtc-native" % depends
|
||||
d.setVar("DEPENDS", depends)
|
||||
|
||||
if d.getVar("UBOOT_ARCH") == "mips":
|
||||
uarch = d.getVar("UBOOT_ARCH")
|
||||
if uarch == "arm64":
|
||||
replacementtype = "Image"
|
||||
elif uarch == "mips":
|
||||
replacementtype = "vmlinuz.bin"
|
||||
elif d.getVar("UBOOT_ARCH") == "x86":
|
||||
elif uarch == "x86":
|
||||
replacementtype = "bzImage"
|
||||
else:
|
||||
replacementtype = "zImage"
|
||||
|
||||
Reference in New Issue
Block a user