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

Ryan Eatmon <[email protected]>
Newsgroups org.yoctoproject.lists.meta-ti
Message-ID <[email protected]>
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 <[email protected]>
---
v2: New patch

 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 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"
-- 
2.43.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.