summaryrefslogtreecommitdiffstats
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-21 19:20:24 -0300
commit634be0dc7e168e89df9043fd260b6897361e9006 (patch)
tree2d48ab977b7348c0ef71fddec49211335ea7e0b5
parent5875b49e07749628aee6cbb651dd89d0fc550d5a (diff)
downloadmeta-freescale-634be0dc7e168e89df9043fd260b6897361e9006.tar.gz
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"
18 18
19MACHINEOVERRIDES =. "use-${IMX_DEFAULT_BSP}-bsp:" 19MACHINEOVERRIDES =. "use-${IMX_DEFAULT_BSP}-bsp:"
20 20
21IMX_DEFAULT_BOOTLOADER = "u-boot-fslc" 21IMX_DEFAULT_BOOTLOADER ??= "u-boot-fslc"
22IMX_DEFAULT_BOOTLOADER_mx8 = "u-boot-imx" 22
23IMX_DEFAULT_UBOOTTOOLS = "${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', 'u-boot-imx','u-boot-imx-tools', 'u-boot-tools', d)}" 23IMX_DEFAULT_UBOOTTOOLS = "${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', 'u-boot-imx','u-boot-imx-tools', 'u-boot-tools', d)}"
24 24
25PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}" 25PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}"