From c3b2af9d75e332515e5bf0a0a17764b5d5bc6b1d Mon Sep 17 00:00:00 2001 From: Ryan Eatmon Date: Tue, 4 Aug 2026 17:12:13 -0500 Subject: [PATCH] kernel-uboot-legacyhs: Set ARCH and UBOOT_ARCH directly A per changes in oe-core [1][2], it is preferable to set ARCH and UBOOT_ARCH directly instead of relying on a class. [1] https://git.openembedded.org/openembedded-core/commit/?id=635f85b7b8ffe4bfd5f282a98bdf640aa037cde1 [2] https://git.openembedded.org/openembedded-core/commit/?id=bdcd04bbc5e205df16c0779388521db4041e7841 Signed-off-by: Ryan Eatmon --- meta-ti-bsp/classes/kernel-uboot-legacyhs.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-ti-bsp/classes/kernel-uboot-legacyhs.bbclass b/meta-ti-bsp/classes/kernel-uboot-legacyhs.bbclass index 6d4aff6b1..a29408452 100644 --- a/meta-ti-bsp/classes/kernel-uboot-legacyhs.bbclass +++ b/meta-ti-bsp/classes/kernel-uboot-legacyhs.bbclass @@ -4,6 +4,9 @@ # SPDX-License-Identifier: MIT # +ARCH = "${@oe.kernel.map_kernel_arch(d)}" +UBOOT_ARCH = "${@oe.kernel.map_uboot_arch(d)}" + # fitImage kernel compression algorithm FIT_KERNEL_COMP_ALG ?= "gzip" FIT_KERNEL_COMP_ALG_EXTENSION ?= ".gz"