]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-arch.bblass: add AArch64 support
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Thu, 27 Sep 2012 12:59:25 +0000 (14:59 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 18 Oct 2012 11:00:38 +0000 (12:00 +0100)
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/kernel-arch.bbclass

index 6446504845c92a5fde354b9f8a9e53af0986690c..b3b78b6278d0a94f6a692839c2655a32fcc9ca1a 100644 (file)
@@ -8,7 +8,7 @@ valid_archs = "alpha cris ia64 \
                i386 x86 \
                m68knommu m68k ppc powerpc powerpc64 ppc64  \
                sparc sparc64 \
-               arm \
+               arm aarch64 \
                m32r mips \
                sh sh64 um h8300   \
                parisc s390  v850 \
@@ -22,6 +22,7 @@ def map_kernel_arch(a, d):
 
     if   re.match('(i.86|athlon|x86.64)$', a):  return 'x86'
     elif re.match('armeb$', a):                 return 'arm'
+    elif re.match('aarch64$', a):               return 'arm64'
     elif re.match('mips(el|64|64el)$', a):      return 'mips'
     elif re.match('p(pc|owerpc)(|64)', a):      return 'powerpc'
     elif re.match('sh(3|4)$', a):               return 'sh'