summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorJoao Marcos Costa <joaomarcos.costa@bootlin.com>2023-12-27 17:24:41 +0100
committerJoao Marcos Costa <joaomarcos.costa@bootlin.com>2023-12-29 14:50:11 +0100
commit65ec98511e52f60ddf868a206536893dbe5f2839 (patch)
tree48b77754e58330c0752faee4abf6494fecdac6bf /conf
parent78fe73c29b9559d9eae317ff2c1a468bcf884cb6 (diff)
downloadmeta-freescale-65ec98511e52f60ddf868a206536893dbe5f2839.tar.gz
imx-base.inc: fix WKS_FILE_DEPENDS's override
Using 'aarch64', as if the WKS_FILE_DEPENDS was conditioned to the userspace's architecture, will not include imx-boot 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: wic.filemap.Error: cannot open image file '.../build/tmp-glibc/deploy/images/microej-imx93/imx-boot': [Errno 2] 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.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 17d3f771..ad74a2ea 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -651,7 +651,10 @@ WKS_FILE_DEPENDS ?= " \
651# 651#
652# NOTE: the results binary name of the boot container is set to 'imx-boot' 652# NOTE: the results binary name of the boot container is set to 'imx-boot'
653# for both NXP and Mainline BSP. 653# for both NXP and Mainline BSP.
654WKS_FILE_DEPENDS:append:imx-generic-bsp:aarch64 = " \ 654WKS_FILE_DEPENDS:append:imx-generic-bsp:mx8-generic-bsp = " \
655 ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0', 'imx-boot', '')} \
656"
657WKS_FILE_DEPENDS:append:imx-generic-bsp:mx9-generic-bsp = " \
655 ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0', 'imx-boot', '')} \ 658 ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0', 'imx-boot', '')} \
656" 659"
657 660