aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen.kooi@linaro.org>2014-12-11 09:43:54 +0100
committerKoen Kooi <koen.kooi@linaro.org>2014-12-11 14:07:52 +0100
commit00b6d08640a6c9ad3c086923b23928b6a3742367 (patch)
treefb0a033a3c324ac1e9cecb9b9bb01fc2ec50806c
parentec2ca4bc721c635ce9388db45299c60214fb785a (diff)
downloadmeta-linaro-00b6d08640a6c9ad3c086923b23928b6a3742367.tar.gz
siteinfo.bbclass: add ILP32 support
Model it after x32 support. Change-Id: I0185ec71d17bf6883060ea42b812a7040eb3dde0 Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
-rw-r--r--meta-aarch64/classes/siteinfo.bbclass13
1 files changed, 9 insertions, 4 deletions
diff --git a/meta-aarch64/classes/siteinfo.bbclass b/meta-aarch64/classes/siteinfo.bbclass
index e90632ae..07fab387 100644
--- a/meta-aarch64/classes/siteinfo.bbclass
+++ b/meta-aarch64/classes/siteinfo.bbclass
@@ -18,8 +18,8 @@
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",
- "aarch64_be": "endian-big bit-64 arm-common",
+ "aarch64": "endian-little arm-common", # bitinfo specified in targetinfo
+ "aarch64_be": "endian-big arm-common", # bitinfo specified in targetinfo
"arm": "endian-little bit-32 arm-common",
"armeb": "endian-big bit-32 arm-common",
"avr32": "endian-big bit-32 avr32-common",
@@ -55,6 +55,7 @@ def siteinfo_data(d):
"linux-gnun32": "common-linux common-glibc",
"linux-gnueabi": "common-linux common-glibc",
"linux-gnuspe": "common-linux common-glibc",
+ "linux-gnuilp32": "common-linux common-glibc",
"linux-uclibc": "common-linux common-uclibc",
"linux-uclibceabi": "common-linux common-uclibc",
"linux-uclibcspe": "common-linux common-uclibc",
@@ -66,8 +67,12 @@ def siteinfo_data(d):
"mingw32": "common-mingw",
}
targetinfo = {
- "aarch64-linux-gnu": "aarch64-linux",
- "aarch64_be-linux-gnu": "aarch64_be-linux",
+ "aarch64-linux": "bit-64",
+ "aarch64_be-linux": "bit-64",
+ "aarch64-linux-gnuilp32": "bit-32 aarch64_be-linux",
+ "aarch64_be-linux-gnuilp32": "bit-32 aarch64_be-linux",
+ "aarch64-linux-gnu": "bit-64 aarch64-linux",
+ "aarch64_be-linux-gnu": "bit-64 aarch64_be-linux",
"arm-linux-gnueabi": "arm-linux",
"arm-linux-musleabi": "arm-linux",
"arm-linux-uclibceabi": "arm-linux-uclibc",