A change in oe-core [1] no longer set ARCH but prefers that you set it
yourself.

[1] 
https://git.openembedded.org/openembedded-core/commit/?id=635f85b7b8ffe4bfd5f282a98bdf640aa037cde1

Signed-off-by: Ryan Eatmon <[email protected]>
---
v2:  New patch.

 meta-ti-bsp/classes/ti-devicetree-prefix.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-ti-bsp/classes/ti-devicetree-prefix.bbclass 
b/meta-ti-bsp/classes/ti-devicetree-prefix.bbclass
index 5858cc65..65c0134c 100644
--- a/meta-ti-bsp/classes/ti-devicetree-prefix.bbclass
+++ b/meta-ti-bsp/classes/ti-devicetree-prefix.bbclass
@@ -35,6 +35,8 @@ def get_merge_dtbs_from_kernel(dts_dir, dts_pattern):
                     matches.append(pattern)
     return ' '.join(matches)
 
+ARCH = "${@oe.kernel.map_kernel_arch(d)}"
+
 KERNEL_DEVICETREE = " \
     ${@get_dtbs_from_kernel('${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts/', 
'${KERNEL_DEVICETREE_PREFIX}')} \
     
${@get_merge_dtbs_from_kernel('${STAGING_KERNEL_DIR}/arch/${ARCH}/boot/dts/', 
'${KERNEL_DEVICETREE_DTBMERGE}')} \
-- 
2.43.0

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

Reply via email to