From a3c89838f21fa5ecca6aa1c39c26094a94944711 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Sun, 20 Feb 2022 16:08:51 +0100 Subject: layer: rework recipes to use soc familiy overrides Follow meta-freescale commit 30f5ce1d ("Generalize overrides subsystem for NXP and Mainline support"). Signed-off-by: Max Krummenacher --- classes/image_type_tezi.bbclass | 2 +- recipes-bsp/u-boot/u-boot_%.bbappend | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/classes/image_type_tezi.bbclass b/classes/image_type_tezi.bbclass index 1ebe9bd..f1a984d 100644 --- a/classes/image_type_tezi.bbclass +++ b/classes/image_type_tezi.bbclass @@ -35,7 +35,7 @@ TEZI_AUTO_INSTALL ??= "false" TEZI_BOOT_SUFFIX ??= "${@'bootfs.tar.xz' if oe.types.boolean('${TEZI_USE_BOOTFILES}') else ''}" TEZI_CONFIG_FORMAT ??= "2" # Require newer Tezi for mx8 Socs with the u-boot environment bugfix -TEZI_CONFIG_FORMAT:mx8 ??= "4" +TEZI_CONFIG_FORMAT:mx8-nxp-bsp ??= "4" TORADEX_FLASH_TYPE ??= "emmc" UBOOT_BINARY_TEZI_EMMC ?= "${UBOOT_BINARY}" UBOOT_BINARY_TEZI_RAWNAND ?= "${UBOOT_BINARY}" diff --git a/recipes-bsp/u-boot/u-boot_%.bbappend b/recipes-bsp/u-boot/u-boot_%.bbappend index c8ac4db..8988bcb 100644 --- a/recipes-bsp/u-boot/u-boot_%.bbappend +++ b/recipes-bsp/u-boot/u-boot_%.bbappend @@ -33,8 +33,8 @@ do_compile:append:colibri-vf () { nand_padding } -BOOT_TOOLS:mx8m = "imx-boot-tools" -do_deploy:append:mx8m() { +BOOT_TOOLS = "imx-boot-tools" +do_deploy:append:mx8m-generic-bsp() { # Deploy u-boot-nodtb.bin and fsl-imx8m*-XX.dtb for mkimage to generate boot binary if [ -n "${UBOOT_CONFIG}" ] then -- cgit v1.2.3