aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-arch.bbclass
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2012-09-27 14:59:25 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-18 12:00:38 +0100
commit9583a46221580ba46ebfd6d561d3a4d6b0d42eea (patch)
treed4c35adf8d69fc27f27647caeb9127241998e0c9 /meta/classes/kernel-arch.bbclass
parentfde788cf5b0e480a675d2aa256af0915a120bc65 (diff)
downloadopenembedded-core-contrib-9583a46221580ba46ebfd6d561d3a4d6b0d42eea.tar.gz
kernel-arch.bblass: add AArch64 support
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/kernel-arch.bbclass')
-rw-r--r--meta/classes/kernel-arch.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass
index 6446504845c..b3b78b6278d 100644
--- a/meta/classes/kernel-arch.bbclass
+++ b/meta/classes/kernel-arch.bbclass
@@ -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'