The kernel calls AArch64 'arm64', but U-Boot calls it just 'arm' so
adding arm64 case to existing map.

Fixes:
| install: cannot stat 
'.../u-boot/1_2023.01-r0/build/arch/arm64/dts/u-boot.dtb': No such file or 
directory

Signed-off-by: Pavel Zhukov <pa...@zhukoff.net>
---
 meta/classes-recipe/kernel-arch.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes-recipe/kernel-arch.bbclass 
b/meta/classes-recipe/kernel-arch.bbclass
index 777f900241..4f88c47ef1 100644
--- a/meta/classes-recipe/kernel-arch.bbclass
+++ b/meta/classes-recipe/kernel-arch.bbclass
@@ -55,6 +55,7 @@ def map_uboot_arch(a, d):
     import re
 
     if   re.match('p(pc|owerpc)(|64)', a): return 'ppc'
+    elif re.match('arm(|64)', a): return 'arm'
     elif re.match('i.86$', a): return 'x86'
     return a
 
-- 
2.39.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#177399): 
https://lists.openembedded.org/g/openembedded-core/message/177399
Mute This Topic: https://lists.openembedded.org/mt/97084683/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to