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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#20221): 
https://lists.yoctoproject.org/g/meta-ti/message/20221
Mute This Topic: https://lists.yoctoproject.org/mt/120626955/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to