aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2021-04-12 22:13:13 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2021-04-13 17:29:25 -0300
commitf98059fef8cf4ca95f19c6a80e567fb44ba1a219 (patch)
treed26bf6932dd9249170c0e3536f46b57d47a142eb
parenta1952664603583e82025a00f5f0335d899c5b1c9 (diff)
downloadmeta-freescale-f98059fef8cf4ca95f19c6a80e567fb44ba1a219.tar.gz
meta-freescale-f98059fef8cf4ca95f19c6a80e567fb44ba1a219.tar.bz2
meta-freescale-f98059fef8cf4ca95f19c6a80e567fb44ba1a219.zip
imx-base.inc: Allow use of SPL_BINARY variable inside wic images
Fixes: 776932e1 ("Rework the u-boot-fslc and u-boot-imx settings logic") Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--conf/machine/include/imx-base.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index f12cc276..2b434133 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -63,6 +63,10 @@ UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}"
IMX_DEFAULT_BOOTLOADER ??= "u-boot-fslc"
UBOOT_SUFFIX ?= "${UBOOT_SUFFIX_pn-${IMX_DEFAULT_BOOTLOADER}}"
+# We need to export the original variable to allow it to be used when generating
+# wic based images.
+SPL_BINARY ?= "${SPL_BINARY_pn-${IMX_DEFAULT_BOOTLOADER}}"
+
IMX_DEFAULT_UBOOTTOOLS = "${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', 'u-boot-imx','u-boot-imx-tools', 'u-boot-tools', d)}"
IMX_DEFAULT_MFGTOOL = "${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', 'u-boot-imx','u-boot-imx-mfgtool', 'u-boot-fslc', d)}"