diff options
author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2012-09-27 14:59:25 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-18 12:13:37 +0100 |
commit | 128c3903cdcc1ad00ec2ba9fb43b39e4ac38ce5f (patch) | |
tree | 7fc6d0a55881ca87a8c4322e1d48f93f50a51e77 /meta/classes/kernel-arch.bbclass | |
parent | 2715432e013a09e7df745d9e21b85d901dfd7687 (diff) | |
download | poky-128c3903cdcc1ad00ec2ba9fb43b39e4ac38ce5f.tar.gz |
kernel-arch.bblass: add AArch64 support
(From OE-Core rev: 9583a46221580ba46ebfd6d561d3a4d6b0d42eea)
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel-arch.bbclass')
-rw-r--r-- | meta/classes/kernel-arch.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass index 6446504845..b3b78b6278 100644 --- a/meta/classes/kernel-arch.bbclass +++ b/meta/classes/kernel-arch.bbclass | |||
@@ -8,7 +8,7 @@ valid_archs = "alpha cris ia64 \ | |||
8 | i386 x86 \ | 8 | i386 x86 \ |
9 | m68knommu m68k ppc powerpc powerpc64 ppc64 \ | 9 | m68knommu m68k ppc powerpc powerpc64 ppc64 \ |
10 | sparc sparc64 \ | 10 | sparc sparc64 \ |
11 | arm \ | 11 | arm aarch64 \ |
12 | m32r mips \ | 12 | m32r mips \ |
13 | sh sh64 um h8300 \ | 13 | sh sh64 um h8300 \ |
14 | parisc s390 v850 \ | 14 | parisc s390 v850 \ |
@@ -22,6 +22,7 @@ def map_kernel_arch(a, d): | |||
22 | 22 | ||
23 | if re.match('(i.86|athlon|x86.64)$', a): return 'x86' | 23 | if re.match('(i.86|athlon|x86.64)$', a): return 'x86' |
24 | elif re.match('armeb$', a): return 'arm' | 24 | elif re.match('armeb$', a): return 'arm' |
25 | elif re.match('aarch64$', a): return 'arm64' | ||
25 | elif re.match('mips(el|64|64el)$', a): return 'mips' | 26 | elif re.match('mips(el|64|64el)$', a): return 'mips' |
26 | elif re.match('p(pc|owerpc)(|64)', a): return 'powerpc' | 27 | elif re.match('p(pc|owerpc)(|64)', a): return 'powerpc' |
27 | elif re.match('sh(3|4)$', a): return 'sh' | 28 | elif re.match('sh(3|4)$', a): return 'sh' |