summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-26 22:45:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-08 15:44:20 +0100
commit52ef977c958db97986bffbae57145edbca8a04b3 (patch)
tree2f5c02ea343eaa154c3a0a5c61460518fe11f584 /meta/classes
parentcf1092012a7dd34ade3a5adfd0c88ff9e227263f (diff)
downloadpoky-52ef977c958db97986bffbae57145edbca8a04b3.tar.gz
rust-target-config: Add mips n32 target information
Add MIPS n32 target information. This appears to be correct but building libstd-rs for the target doesn't work. (From OE-Core rev: 255be90dc8e3625060c9b8ccc2ec3a71f24470d2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/rust-target-config.bbclass7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/classes/rust-target-config.bbclass b/meta/classes/rust-target-config.bbclass
index 87b7dee3ed..1721839922 100644
--- a/meta/classes/rust-target-config.bbclass
+++ b/meta/classes/rust-target-config.bbclass
@@ -190,6 +190,13 @@ TARGET_POINTER_WIDTH[mips64] = "64"
190TARGET_C_INT_WIDTH[mips64] = "64" 190TARGET_C_INT_WIDTH[mips64] = "64"
191MAX_ATOMIC_WIDTH[mips64] = "64" 191MAX_ATOMIC_WIDTH[mips64] = "64"
192 192
193## mips64-n32-unknown-linux-{gnu, musl}
194DATA_LAYOUT[mips64-n32] = "E-m:e-p:32:32-i8:8:32-i16:16:32-i64:64-n32:64-S128"
195TARGET_ENDIAN[mips64-n32] = "big"
196TARGET_POINTER_WIDTH[mips64-n32] = "32"
197TARGET_C_INT_WIDTH[mips64-n32] = "32"
198MAX_ATOMIC_WIDTH[mips64-n32] = "64"
199
193## mips64el-unknown-linux-{gnu, musl} 200## mips64el-unknown-linux-{gnu, musl}
194DATA_LAYOUT[mips64el] = "e-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128" 201DATA_LAYOUT[mips64el] = "e-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128"
195TARGET_ENDIAN[mips64el] = "little" 202TARGET_ENDIAN[mips64el] = "little"