Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] kernel-arch.bbclass: Map arm64 to arm
@ 2023-02-20 12:42 Pavel Zhukov
  2023-02-22 18:22 ` [OE-core] " Alexandre Belloni
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Zhukov @ 2023-02-20 12:42 UTC (permalink / raw)
  To: openembedded-core; +Cc: Pavel Zhukov

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 <pavel@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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-22 21:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-20 12:42 [PATCH] kernel-arch.bbclass: Map arm64 to arm Pavel Zhukov
2023-02-22 18:22 ` [OE-core] " Alexandre Belloni
2023-02-22 21:36   ` Pavel Zhukov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox