diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2020-04-14 18:50:32 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2020-04-14 18:52:32 -0300 |
commit | 7541e303085b2e6bb50ab13d66d18cb143777c5b (patch) | |
tree | bb1e4dc470497c1be158a11d20c104ca65880bab /conf/machine | |
parent | 5e62f2fb476405e77388da0f2963163173e0c090 (diff) | |
download | meta-freescale-7541e303085b2e6bb50ab13d66d18cb143777c5b.tar.gz |
imx-base.inc: Postpone the expanion of BSP choice
We need to postpone the expanion so we avoid cycles.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'conf/machine')
-rw-r--r-- | conf/machine/include/imx-base.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index feb243b9..eb886de6 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
@@ -15,12 +15,15 @@ IMX_DEFAULT_BOOTLOADER_mx8 = "u-boot-imx" | |||
15 | # | 15 | # |
16 | # Two values are considered valid: mainline, nxp | 16 | # Two values are considered valid: mainline, nxp |
17 | IMX_DEFAULT_BSP ??= "mainline" | 17 | IMX_DEFAULT_BSP ??= "mainline" |
18 | MACHINEOVERRIDES .= ":use-${IMX_DEFAULT_BSP}-bsp" | ||
19 | 18 | ||
20 | # Those are SoC families we'd like to force the use of mainline BSP. | 19 | # Those are SoC families we'd like to force the use of mainline BSP. |
21 | IMX_DEFAULT_BSP_mxs = "mainline" | 20 | IMX_DEFAULT_BSP_mxs = "mainline" |
22 | IMX_DEFAULT_BSP_mx5 = "mainline" | 21 | IMX_DEFAULT_BSP_mx5 = "mainline" |
23 | 22 | ||
23 | # the MACHINEOVERRIDES. This is required so this is reworked late in the | ||
24 | # expansion cycle. | ||
25 | DISTROOVERRIDES_append = ":use-${IMX_DEFAULT_BSP}-bsp" | ||
26 | |||
24 | PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}" | 27 | PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}" |
25 | PREFERRED_PROVIDER_u-boot-tools-native ??= "${IMX_DEFAULT_BOOTLOADER}-tools-native" | 28 | PREFERRED_PROVIDER_u-boot-tools-native ??= "${IMX_DEFAULT_BOOTLOADER}-tools-native" |
26 | PREFERRED_PROVIDER_nativesdk-u-boot-tools ??= "nativesdk-${IMX_DEFAULT_BOOTLOADER}-tools" | 29 | PREFERRED_PROVIDER_nativesdk-u-boot-tools ??= "nativesdk-${IMX_DEFAULT_BOOTLOADER}-tools" |