[oe-commits] Fathi Boudra : kernel-arch.bbclass: add arm64 support to U-Boot architecture map

git at git.openembedded.org git at git.openembedded.org
Fri Mar 21 11:58:41 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 0b891265716c414ade29d587fc1a3c4ea7beadbe
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=0b891265716c414ade29d587fc1a3c4ea7beadbe

Author: Fathi Boudra <fathi.boudra at linaro.org>
Date:   Thu Mar 20 19:49:35 2014 +0200

kernel-arch.bbclass: add arm64 support to U-Boot architecture map

to define UBOOT_ARCH, we map kernel architectures to U-Boot architectures.
In the case of arm64 kernel, we should map to arm U-boot architecture.

This patch add the exception rule to the map_uboot_arch function.

Signed-off-by: Fathi Boudra <fathi.boudra at linaro.org>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/kernel-arch.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
index 6a6ad91..bbcfa15 100644
--- a/meta/classes/kernel-arch.bbclass
+++ b/meta/classes/kernel-arch.bbclass
@@ -40,6 +40,7 @@ def map_uboot_arch(a, d):
 
     if   re.match('p(pc|owerpc)(|64)', a): return 'ppc'
     elif re.match('i.86$', a): return 'x86'
+    elif re.match('arm64$', a): return 'arm'
     return a
 
 export UBOOT_ARCH = "${@map_uboot_arch(d.getVar('ARCH', True), d)}"



More information about the Openembedded-commits mailing list