diff options
author | Victor Kamensky <victor.kamensky@linaro.org> | 2013-10-10 12:16:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-14 16:55:32 +0100 |
commit | 5c63fc7a67ec8844768bbcf1a1accb205865333d (patch) | |
tree | 293afebfa7997876437050f9e40ef3c91144f825 /meta | |
parent | 7eca0526e2fb41197638bf4ea0bfdd27fcde652b (diff) | |
download | poky-5c63fc7a67ec8844768bbcf1a1accb205865333d.tar.gz |
classes: add aarch64_be target
Add big endian ARMv8 target to OE infrastructure
(From OE-Core rev: 570ae1afecc88b12a11e62a4341069c125d18403)
Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/insane.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/kernel-arch.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/libc-package.bbclass | 1 | ||||
-rw-r--r-- | meta/classes/siteinfo.bbclass | 2 |
4 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index d73cc2b9b0..eb440c24ff 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass | |||
@@ -57,6 +57,7 @@ def package_qa_get_machine_dict(): | |||
57 | }, | 57 | }, |
58 | "linux" : { | 58 | "linux" : { |
59 | "aarch64" : (183, 0, 0, True, 64), | 59 | "aarch64" : (183, 0, 0, True, 64), |
60 | "aarch64_be" :(183, 0, 0, False, 64), | ||
60 | "arm" : (40, 97, 0, True, 32), | 61 | "arm" : (40, 97, 0, True, 32), |
61 | "armeb": (40, 97, 0, False, 32), | 62 | "armeb": (40, 97, 0, False, 32), |
62 | "powerpc": (20, 0, 0, False, 32), | 63 | "powerpc": (20, 0, 0, False, 32), |
diff --git a/meta/classes/kernel-arch.bbclass b/meta/classes/kernel-arch.bbclass index 4a140ebdaf..6a6ad91866 100644 --- a/meta/classes/kernel-arch.bbclass +++ b/meta/classes/kernel-arch.bbclass | |||
@@ -23,6 +23,7 @@ def map_kernel_arch(a, d): | |||
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('aarch64$', a): return 'arm64' |
26 | elif re.match('aarch64_be$', a): return 'arm64' | ||
26 | elif re.match('mips(el|64|64el)$', a): return 'mips' | 27 | elif re.match('mips(el|64|64el)$', a): return 'mips' |
27 | elif re.match('p(pc|owerpc)(|64)', a): return 'powerpc' | 28 | elif re.match('p(pc|owerpc)(|64)', a): return 'powerpc' |
28 | elif re.match('sh(3|4)$', a): return 'sh' | 29 | elif re.match('sh(3|4)$', a): return 'sh' |
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index 40c3138d5b..454ee76602 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass | |||
@@ -268,6 +268,7 @@ python package_do_split_gconvs () { | |||
268 | locale_arch_options = { \ | 268 | locale_arch_options = { \ |
269 | "arm": " --uint32-align=4 --little-endian ", \ | 269 | "arm": " --uint32-align=4 --little-endian ", \ |
270 | "armeb": " --uint32-align=4 --big-endian ", \ | 270 | "armeb": " --uint32-align=4 --big-endian ", \ |
271 | "aarch64_be": " --uint32-align=4 --big-endian ", \ | ||
271 | "sh4": " --uint32-align=4 --big-endian ", \ | 272 | "sh4": " --uint32-align=4 --big-endian ", \ |
272 | "powerpc": " --uint32-align=4 --big-endian ", \ | 273 | "powerpc": " --uint32-align=4 --big-endian ", \ |
273 | "powerpc64": " --uint32-align=4 --big-endian ", \ | 274 | "powerpc64": " --uint32-align=4 --big-endian ", \ |
diff --git a/meta/classes/siteinfo.bbclass b/meta/classes/siteinfo.bbclass index 8705eaa243..9ae2561c88 100644 --- a/meta/classes/siteinfo.bbclass +++ b/meta/classes/siteinfo.bbclass | |||
@@ -19,6 +19,7 @@ def siteinfo_data(d): | |||
19 | archinfo = { | 19 | archinfo = { |
20 | "allarch": "endian-little bit-32", # bogus, but better than special-casing the checks below for allarch | 20 | "allarch": "endian-little bit-32", # bogus, but better than special-casing the checks below for allarch |
21 | "aarch64": "endian-little bit-64 arm-common", | 21 | "aarch64": "endian-little bit-64 arm-common", |
22 | "aarch64_be": "endian-big bit-64 arm-common", | ||
22 | "arm": "endian-little bit-32 arm-common", | 23 | "arm": "endian-little bit-32 arm-common", |
23 | "armeb": "endian-big bit-32 arm-common", | 24 | "armeb": "endian-big bit-32 arm-common", |
24 | "avr32": "endian-big bit-32 avr32-common", | 25 | "avr32": "endian-big bit-32 avr32-common", |
@@ -63,6 +64,7 @@ def siteinfo_data(d): | |||
63 | } | 64 | } |
64 | targetinfo = { | 65 | targetinfo = { |
65 | "aarch64-linux-gnu": "aarch64-linux", | 66 | "aarch64-linux-gnu": "aarch64-linux", |
67 | "aarch64_be-linux-gnu": "aarch64_be-linux", | ||
66 | "arm-linux-gnueabi": "arm-linux", | 68 | "arm-linux-gnueabi": "arm-linux", |
67 | "arm-linux-uclibceabi": "arm-linux-uclibc", | 69 | "arm-linux-uclibceabi": "arm-linux-uclibc", |
68 | "armeb-linux-gnueabi": "armeb-linux", | 70 | "armeb-linux-gnueabi": "armeb-linux", |