diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2021-03-19 14:58:41 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-03-24 11:18:34 -0300 |
commit | 3284a5a01820f01ac4dac585d51c18eaeb064fb7 (patch) | |
tree | 10325fbe2ca901c8ad2afda4f0498e3b490dd841 /conf | |
parent | 7a029812002b93e9f51db45e640c234bdb75322b (diff) | |
download | meta-freescale-3284a5a01820f01ac4dac585d51c18eaeb064fb7.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>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/machine/include/imx-base.inc | 4 |
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 | ||
19 | MACHINEOVERRIDES =. "use-${IMX_DEFAULT_BSP}-bsp:" | 19 | MACHINEOVERRIDES =. "use-${IMX_DEFAULT_BSP}-bsp:" |
20 | 20 | ||
21 | IMX_DEFAULT_BOOTLOADER = "u-boot-fslc" | 21 | IMX_DEFAULT_BOOTLOADER ??= "u-boot-fslc" |
22 | IMX_DEFAULT_BOOTLOADER_mx8 = "u-boot-imx" | 22 | |
23 | IMX_DEFAULT_UBOOTTOOLS = "${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', 'u-boot-imx','u-boot-imx-tools', 'u-boot-tools', d)}" | 23 | IMX_DEFAULT_UBOOTTOOLS = "${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', 'u-boot-imx','u-boot-imx-tools', 'u-boot-tools', d)}" |
24 | 24 | ||
25 | PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}" | 25 | PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}" |