diff mbox series

[meta-ti,master,v2,2/3] kernel-uboot-legacyhs: Set ARCH and UBOOT_ARCH directly

Message ID 20260806141003.2776131-2-reatmon@ti.com
State New
Headers show
Series [meta-ti,master,v2,1/3] kernel_legacyhs: Adapt to recent changes in oe-core | expand

Commit Message

Ryan Eatmon Aug. 6, 2026, 2:10 p.m. UTC
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 <reatmon@ti.com>
---
v2: New patch

 meta-ti-bsp/classes/kernel-uboot-legacyhs.bbclass | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/meta-ti-bsp/classes/kernel-uboot-legacyhs.bbclass b/meta-ti-bsp/classes/kernel-uboot-legacyhs.bbclass
index 6d4aff6b..a2940845 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"