u-boot-imx-tools: Drop i.MX specific tools

We are building same tools as the original U-Boot thus we should rely on
them.

This is critical as native tools cannot vary between machines as there
are no clear reason to convert this to be a cross tool as we build no
machine specific code.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
Otavio Salvador 2021-04-16 15:12:25 -03:00
parent 33653d391b
commit aa2ee360b2
2 changed files with 0 additions and 20 deletions

View File

@ -67,15 +67,10 @@ UBOOT_SUFFIX ?= "${UBOOT_SUFFIX_pn-${IMX_DEFAULT_BOOTLOADER}}"
# wic based images. # wic based images.
SPL_BINARY ??= "${@get_spl_binary(d)}" SPL_BINARY ??= "${@get_spl_binary(d)}"
IMX_DEFAULT_UBOOTTOOLS = "${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', 'u-boot-imx','u-boot-imx-tools', 'u-boot-tools', d)}"
IMX_DEFAULT_MFGTOOL = "${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', 'u-boot-imx','u-boot-imx-mfgtool', 'u-boot-fslc', d)}" IMX_DEFAULT_MFGTOOL = "${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', 'u-boot-imx','u-boot-imx-mfgtool', 'u-boot-fslc', d)}"
PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}" PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}"
PREFERRED_PROVIDER_u-boot-mfgtool ??= "${IMX_DEFAULT_MFGTOOL}" PREFERRED_PROVIDER_u-boot-mfgtool ??= "${IMX_DEFAULT_MFGTOOL}"
PREFERRED_PROVIDER_u-boot-tools-native ??= "${IMX_DEFAULT_UBOOTTOOLS}-native"
PREFERRED_PROVIDER_nativesdk-u-boot-tools ??= "nativesdk-${IMX_DEFAULT_UBOOTTOOLS}"
PREFERRED_PROVIDER_u-boot-mkimage-native ??= "${IMX_DEFAULT_UBOOTTOOLS}-native"
PREFERRED_PROVIDER_nativesdk-u-boot-mkimage ??= "nativesdk-${IMX_DEFAULT_UBOOTTOOLS}"
PREFERRED_PROVIDER_virtual/bootloader ??= "${IMX_DEFAULT_BOOTLOADER}" PREFERRED_PROVIDER_virtual/bootloader ??= "${IMX_DEFAULT_BOOTLOADER}"
PREFERRED_PROVIDER_u-boot-mxsboot-native ??= "u-boot-fslc-mxsboot-native" PREFERRED_PROVIDER_u-boot-mxsboot-native ??= "u-boot-fslc-mxsboot-native"

View File

@ -1,15 +0,0 @@
require recipes-bsp/u-boot/u-boot-tools.inc
require u-boot-imx-common.inc
PROVIDES_append_class-target = " ${MLPREFIX}u-boot-tools"
PROVIDES_append_class-native = " u-boot-tools-native"
PROVIDES_append_class-nativesdk = " nativesdk-u-boot-tools"
PACKAGE_ARCH = "${MACHINE_ARCH}"
# Set recipe as incompatible by default
COMPATIBLE_MACHINE = "(^$)"
# Whitelist its use for i.MX based machines
COMPATIBLE_MACHINE_use-mainline-bsp = "(.)"
COMPATIBLE_MACHINE_use-nxp-bsp = "(.)"