From 1652e927cc996be3ab4676792fd67b93ed3576dd Mon Sep 17 00:00:00 2001 From: Joao Marcos Costa Date: Wed, 27 Dec 2023 16:50:15 +0100 Subject: imx-base.inc: fix KERNEL_IMAGETYPE's override Using 'aarch64', as if the KERNEL_IMAGETYPE was conditioned to the userspace's architecture, will cause the wrong image type to be built in a multilib context (e.g., for a 32-bit userspace). This happens because 'aarch64' will not be listed in OVERRIDES, and the error below will come up during do_image_wic task: output: install: cannot stat '...build/tmp-glibc/deploy/images/microej-imx93/zImage': No such file or directory Replace 'aarch64' by mx*-generic-bsp, for both imx8 and imx9, as these two are aarch64 platforms. Signed-off-by: Joao Marcos Costa --- conf/machine/include/imx-base.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index 71c2aa805..daf2ce39d 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc @@ -665,7 +665,8 @@ SERIAL_CONSOLES = "115200;ttymxc0" SERIAL_CONSOLES:mxs-generic-bsp = "115200;ttyAMA0" KERNEL_IMAGETYPE = "zImage" -KERNEL_IMAGETYPE:aarch64 = "Image" +KERNEL_IMAGETYPE:mx8-generic-bsp = "Image" +KERNEL_IMAGETYPE:mx9-generic-bsp = "Image" MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen screen" -- cgit v1.2.3-54-g00ecf