summaryrefslogtreecommitdiffstats
path: root/conf/machine
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2020-04-14 18:50:32 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2020-04-14 18:52:32 -0300
commit7541e303085b2e6bb50ab13d66d18cb143777c5b (patch)
treebb1e4dc470497c1be158a11d20c104ca65880bab /conf/machine
parent5e62f2fb476405e77388da0f2963163173e0c090 (diff)
downloadmeta-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.inc5
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
17IMX_DEFAULT_BSP ??= "mainline" 17IMX_DEFAULT_BSP ??= "mainline"
18MACHINEOVERRIDES .= ":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.
21IMX_DEFAULT_BSP_mxs = "mainline" 20IMX_DEFAULT_BSP_mxs = "mainline"
22IMX_DEFAULT_BSP_mx5 = "mainline" 21IMX_DEFAULT_BSP_mx5 = "mainline"
23 22
23# the MACHINEOVERRIDES. This is required so this is reworked late in the
24# expansion cycle.
25DISTROOVERRIDES_append = ":use-${IMX_DEFAULT_BSP}-bsp"
26
24PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}" 27PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}"
25PREFERRED_PROVIDER_u-boot-tools-native ??= "${IMX_DEFAULT_BOOTLOADER}-tools-native" 28PREFERRED_PROVIDER_u-boot-tools-native ??= "${IMX_DEFAULT_BOOTLOADER}-tools-native"
26PREFERRED_PROVIDER_nativesdk-u-boot-tools ??= "nativesdk-${IMX_DEFAULT_BOOTLOADER}-tools" 29PREFERRED_PROVIDER_nativesdk-u-boot-tools ??= "nativesdk-${IMX_DEFAULT_BOOTLOADER}-tools"