The main kernel map function would already handle x86 correctly.

Modern u-boot already handles both forms of powerpc and ppc correctly to
so we don't need this legacy function mapping for it.

Signed-off-by: Richard Purdie <[email protected]>
---
 meta/lib/oe/kernel.py | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/meta/lib/oe/kernel.py b/meta/lib/oe/kernel.py
index 6c57ef402e8..ff88c41b218 100644
--- a/meta/lib/oe/kernel.py
+++ b/meta/lib/oe/kernel.py
@@ -41,11 +41,7 @@ def map_kernel_arch(d):
 # Return a value for the -A parameter to u-boot's mkimage
 # This would be the value from the table in boot/image.c:uimage_arch
 def map_uboot_arch(d):
-    a = map_kernel_arch(d)
-
-    if   re.match('p(pc|owerpc)(|64)', a): return 'ppc'
-    elif re.match('i.86$', a): return 'x86'
-    return a
+    return map_kernel_arch(d)
 
 # parse kernel ABI version out of <linux/version.h>
 def get_version_headers(p):
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#242535): 
https://lists.openembedded.org/g/openembedded-core/message/242535
Mute This Topic: https://lists.openembedded.org/mt/120561026/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to