aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2021-03-19 14:58:41 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2021-03-24 11:18:34 -0300
commit3284a5a01820f01ac4dac585d51c18eaeb064fb7 (patch)
tree10325fbe2ca901c8ad2afda4f0498e3b490dd841
parent7a029812002b93e9f51db45e640c234bdb75322b (diff)
downloadmeta-freescale-3284a5a01820f01ac4dac585d51c18eaeb064fb7.tar.gz
meta-freescale-3284a5a01820f01ac4dac585d51c18eaeb064fb7.tar.bz2
meta-freescale-3284a5a01820f01ac4dac585d51c18eaeb064fb7.zip
imx-base.inc: Allow override of IMX_DEFAULT_BOOTLOADER
We need to allow the override of the variable in 'local.conf' or other places, so we cannot overwrite it inside imx-base.inc. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--conf/machine/include/imx-base.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 6c9f3aa6..4790005b 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -18,8 +18,8 @@ IMX_DEFAULT_BSP_mx5 ?= "mainline"
MACHINEOVERRIDES =. "use-${IMX_DEFAULT_BSP}-bsp:"
-IMX_DEFAULT_BOOTLOADER = "u-boot-fslc"
-IMX_DEFAULT_BOOTLOADER_mx8 = "u-boot-imx"
+IMX_DEFAULT_BOOTLOADER ??= "u-boot-fslc"
+
IMX_DEFAULT_UBOOTTOOLS = "${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', 'u-boot-imx','u-boot-imx-tools', 'u-boot-tools', d)}"
PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}"