This patchset adds support for AArch64 in all required classes:
- insane - kernel-arch - siteinfo
Everything is from public available information (binutils, linux).
Signed-off-by: Marcin Juszkiewicz marcin.juszkiewicz@linaro.org --- meta/classes/siteinfo.bbclass | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass index 8c256ce..aab0867 100644 --- a/meta/classes/siteinfo.bbclass +++ b/meta/classes/siteinfo.bbclass @@ -18,6 +18,7 @@ def siteinfo_data(d): archinfo = { "allarch": "endian-little bit-32", # bogus, but better than special-casing the checks below for allarch + "aarch64": "endian-little bit-64 arm-common", "arm": "endian-little bit-32 arm-common", "armeb": "endian-big bit-32 arm-common", "avr32": "endian-big bit-32 avr32-common", @@ -60,6 +61,7 @@ def siteinfo_data(d): "mingw32": "common-mingw", } targetinfo = { + "aarch64-linux-gnu": "aarch64-linux", "arm-linux-gnueabi": "arm-linux", "arm-linux-uclibceabi": "arm-linux-uclibc", "armeb-linux-gnueabi": "armeb-linux",
Signed-off-by: Marcin Juszkiewicz marcin.juszkiewicz@linaro.org --- 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'
Signed-off-by: Marcin Juszkiewicz marcin.juszkiewicz@linaro.org --- meta/classes/insane.bbclass | 1 + 1 file changed, 1 insertion(+)
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index 1fb8970..b390242 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -44,6 +44,7 @@ def package_qa_get_machine_dict(): "arm" : (40, 0, 0, True, 32), }, "linux" : { + "aarch64" : (183, 0, 0, True, 64), "arm" : (40, 97, 0, True, 32), "armeb": (40, 97, 0, False, 32), "powerpc": (20, 0, 0, False, 32),