diff options
author | Joao Marcos Costa <joaomarcos.costa@bootlin.com> | 2023-12-27 17:24:41 +0100 |
---|---|---|
committer | Joao Marcos Costa <joaomarcos.costa@bootlin.com> | 2023-12-29 14:50:11 +0100 |
commit | 65ec98511e52f60ddf868a206536893dbe5f2839 (patch) | |
tree | 48b77754e58330c0752faee4abf6494fecdac6bf /conf | |
parent | 78fe73c29b9559d9eae317ff2c1a468bcf884cb6 (diff) | |
download | meta-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.inc | 5 |
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. |
654 | WKS_FILE_DEPENDS:append:imx-generic-bsp:aarch64 = " \ | 654 | WKS_FILE_DEPENDS:append:imx-generic-bsp:mx8-generic-bsp = " \ |
655 | ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '0', 'imx-boot', '')} \ | ||
656 | " | ||
657 | WKS_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 | ||