]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot-imx-tools: Drop i.MX specific tools
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 16 Apr 2021 18:12:25 +0000 (15:12 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Sun, 18 Apr 2021 16:48:56 +0000 (13:48 -0300)
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>
conf/machine/include/imx-base.inc
recipes-bsp/u-boot/u-boot-imx-tools_2020.04.bb [deleted file]

index 14008927cf129dba5d65399c670d8aef1efc0912..16d48da955e41f78f63e978ef710f358ea8b9cab 100644 (file)
@@ -67,15 +67,10 @@ UBOOT_SUFFIX ?= "${UBOOT_SUFFIX_pn-${IMX_DEFAULT_BOOTLOADER}}"
 # wic based images.
 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)}"
 
 PREFERRED_PROVIDER_u-boot ??= "${IMX_DEFAULT_BOOTLOADER}"
 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_u-boot-mxsboot-native ??= "u-boot-fslc-mxsboot-native"
diff --git a/recipes-bsp/u-boot/u-boot-imx-tools_2020.04.bb b/recipes-bsp/u-boot/u-boot-imx-tools_2020.04.bb
deleted file mode 100644 (file)
index d1e9512..0000000
+++ /dev/null
@@ -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 = "(.)"