summaryrefslogtreecommitdiff
path: root/recipes-bsp
diff options
context:
space:
mode:
authorMax Krummenacher <max.krummenacher@toradex.com>2023-05-01 13:48:41 +0200
committerMax Krummenacher <max.krummenacher@toradex.com>2023-05-01 14:39:56 +0200
commit7494e9e268a056a423ed917261af8978ba14a648 (patch)
treea29ce52e624f70014ecad41bb11f01ff2e1cc959 /recipes-bsp
parent352e4ceea77fa2855e26b9fc5eac3545baf8a788 (diff)
u-boot: imx-boot: build with u-boot binman
The imx-boot binary can be put together with the imx-mkimage/imx-boot recipe or now also with U-Boot/binman. meta-freescale changed the default for all machines from using imx-mkimage to use binman. Move to use binman, change the downstream U-Boot recipe accordingly. Related-to: ELB-5155 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'recipes-bsp')
-rw-r--r--recipes-bsp/u-boot/u-boot-toradex-common_2022.04.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-toradex-common_2022.04.inc b/recipes-bsp/u-boot/u-boot-toradex-common_2022.04.inc
index 67a693d..b6b6ccb 100644
--- a/recipes-bsp/u-boot/u-boot-toradex-common_2022.04.inc
+++ b/recipes-bsp/u-boot/u-boot-toradex-common_2022.04.inc
@@ -14,6 +14,8 @@ SRCBRANCH = "toradex_imx_lf_v2022.04"
S = "${WORKDIR}/git"
inherit toradex-u-boot-localversion
+# build imx-boot from within U-Boot
+inherit ${@oe.utils.ifelse(d.getVar('UBOOT_PROVIDES_BOOT_CONTAINER') == '1', 'imx-boot-container', '')}
UBOOT_INITIAL_ENV = "u-boot-initial-env"