diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2021-02-22 14:51:45 +0100 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-02-22 13:03:31 -0300 |
commit | a26b8420af2b15bd882ff4bad92c1fdc73057f8a (patch) | |
tree | 4edcf1177b43e64bd2748c0f222aecd532e16a76 /conf/machine | |
parent | 346713517e26729f91fd35423c8934cf59e7d64d (diff) | |
download | meta-freescale-a26b8420af2b15bd882ff4bad92c1fdc73057f8a.tar.gz |
imx-base: cleanup u-boot-tools
There is no u-boot-fslc-tools recipe and thus the PREFERRED_PROVIDER is
not available for u-boot-tools.
Prevents:
| NOTE: Multiple providers are available for u-boot-mkimage-native (u-boot-imx-tools-native, u-boot-tools-native)
| Consider defining a PREFERRED_PROVIDER entry to match u-boot-mkimage-native
| NOTE: Multiple providers are available for runtime nativesdk-u-boot-mkimage (nativesdk-u-boot-imx-tools, nativesdk-u-boot-tools)
| Consider defining a PREFERRED_RPROVIDER entry to match nativesdk-u-boot-mkimage
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Diffstat (limited to 'conf/machine')
-rw-r--r-- | conf/machine/include/imx-base.inc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index 18d886c4..638d423c 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
@@ -22,13 +22,14 @@ MACHINEOVERRIDES =. "use-${IMX_DEFAULT_BSP}-bsp:" | |||
22 | IMX_DEFAULT_BOOTLOADER = "u-boot-fslc" | 22 | IMX_DEFAULT_BOOTLOADER = "u-boot-fslc" |
23 | IMX_DEFAULT_BOOTLOADER_mx8 = "u-boot-imx" | 23 | IMX_DEFAULT_BOOTLOADER_mx8 = "u-boot-imx" |
24 | IMX_DEFAULT_BOOTLOADER_use-mainline-bsp = "u-boot-fslc" | 24 | IMX_DEFAULT_BOOTLOADER_use-mainline-bsp = "u-boot-fslc" |
25 | IMX_DEFAULT_UBOOTTOOLS = "${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', 'u-boot-imx','u-boot-imx-tools', 'u-boot-tools', d)}" | ||
25 | 26 | ||
26 | PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}" | 27 | PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}" |
27 | PREFERRED_PROVIDER_u-boot-mfgtool ??= "${IMX_DEFAULT_BOOTLOADER}-mfgtool" | 28 | PREFERRED_PROVIDER_u-boot-mfgtool ??= "${IMX_DEFAULT_BOOTLOADER}-mfgtool" |
28 | PREFERRED_PROVIDER_u-boot-tools-native ??= "${IMX_DEFAULT_BOOTLOADER}-tools-native" | 29 | PREFERRED_PROVIDER_u-boot-tools-native ??= "${IMX_DEFAULT_UBOOTTOOLS}-native" |
29 | PREFERRED_PROVIDER_nativesdk-u-boot-tools ??= "nativesdk-${IMX_DEFAULT_BOOTLOADER}-tools" | 30 | PREFERRED_PROVIDER_nativesdk-u-boot-tools ??= "nativesdk-${IMX_DEFAULT_UBOOTTOOLS}" |
30 | PREFERRED_PROVIDER_u-boot-mkimage-native ??= "${IMX_DEFAULT_BOOTLOADER}-tools-native" | 31 | PREFERRED_PROVIDER_u-boot-mkimage-native ??= "${IMX_DEFAULT_UBOOTTOOLS}-native" |
31 | PREFERRED_PROVIDER_nativesdk-u-boot-mkimage ??= "nativesdk-${IMX_DEFAULT_BOOTLOADER}-tools" | 32 | PREFERRED_PROVIDER_nativesdk-u-boot-mkimage ??= "nativesdk-${IMX_DEFAULT_UBOOTTOOLS}" |
32 | PREFERRED_PROVIDER_virtual/bootloader ??= "${IMX_DEFAULT_BOOTLOADER}" | 33 | PREFERRED_PROVIDER_virtual/bootloader ??= "${IMX_DEFAULT_BOOTLOADER}" |
33 | 34 | ||
34 | PREFERRED_PROVIDER_u-boot-mxsboot-native ??= "u-boot-fslc-mxsboot-native" | 35 | PREFERRED_PROVIDER_u-boot-mxsboot-native ??= "u-boot-fslc-mxsboot-native" |