From patchwork Thu Sep 27 13:19:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/3] kernel-arch.bblass: add AArch64 support Date: Thu, 27 Sep 2012 13:19:39 -0000 From: Marcin Juszkiewicz X-Patchwork-Id: 37347 Message-Id: <1348751980-23989-3-git-send-email-marcin.juszkiewicz@linaro.org> To: openembedded-core@lists.openembedded.org Cc: linaro-dev@lists.linaro.org, patches@linaro.org Signed-off-by: Marcin Juszkiewicz --- meta/classes/kernel-arch.bbclass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass index 6446504..b3b78b6 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'