diff options
author | Joao Marcos Costa <joaomarcos.costa@bootlin.com> | 2023-12-27 16:50:15 +0100 |
---|---|---|
committer | Joao Marcos Costa <joaomarcos.costa@bootlin.com> | 2023-12-29 14:43:53 +0100 |
commit | 1652e927cc996be3ab4676792fd67b93ed3576dd (patch) | |
tree | 7f20b5aa0674424284404c3f6ed941dbb3b650b9 /conf | |
parent | d7e13f19fbf93cb0bd87c29b44c5012e2e0e4393 (diff) | |
download | meta-freescale-1652e927cc996be3ab4676792fd67b93ed3576dd.tar.gz |
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 <joaomarcos.costa@bootlin.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/machine/include/imx-base.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index 71c2aa80..daf2ce39 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
@@ -665,7 +665,8 @@ SERIAL_CONSOLES = "115200;ttymxc0" | |||
665 | SERIAL_CONSOLES:mxs-generic-bsp = "115200;ttyAMA0" | 665 | SERIAL_CONSOLES:mxs-generic-bsp = "115200;ttyAMA0" |
666 | 666 | ||
667 | KERNEL_IMAGETYPE = "zImage" | 667 | KERNEL_IMAGETYPE = "zImage" |
668 | KERNEL_IMAGETYPE:aarch64 = "Image" | 668 | KERNEL_IMAGETYPE:mx8-generic-bsp = "Image" |
669 | KERNEL_IMAGETYPE:mx9-generic-bsp = "Image" | ||
669 | 670 | ||
670 | MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen screen" | 671 | MACHINE_FEATURES = "usbgadget usbhost vfat alsa touchscreen screen" |
671 | 672 | ||