[OE-core] [PATCH] kernel-fitimage.bbclass: Change KERNEL_IMAGETYPE_FOR_MAKE to Image for ARM64
Nikunj Kela
nkela at cisco.com
Thu Feb 16 00:21:30 UTC 2017
zImage is the default KERNEL_IMAGETYPE_FOR_MAKE for non x86 fitImage.
On ARM64 architecture, zImage is not a valid kernel build target. This
change overrides KERNEL_IMAGETYPE_FOR_MAKE to Image on ARM64 platforms.
Cc: xe-kernel at external.cisco.com
Signed-off-by: Nikunj Kela <nkela at cisco.com>
---
meta/classes/kernel-fitimage.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index 1c3b4b7..89cd5c4 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -9,6 +9,8 @@ python __anonymous () {
if d.getVar("UBOOT_ARCH") == "x86":
replacementtype = "bzImage"
+ elif d.getVar("UBOOT_ARCH") == "arm64":
+ replacementtype = "Image"
else:
replacementtype = "zImage"
--
2.5.0
More information about the Openembedded-core
mailing list