diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-26 22:45:07 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-08 15:44:20 +0100 |
commit | 52ef977c958db97986bffbae57145edbca8a04b3 (patch) | |
tree | 2f5c02ea343eaa154c3a0a5c61460518fe11f584 /meta/classes | |
parent | cf1092012a7dd34ade3a5adfd0c88ff9e227263f (diff) | |
download | poky-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.bbclass | 7 |
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" | |||
190 | TARGET_C_INT_WIDTH[mips64] = "64" | 190 | TARGET_C_INT_WIDTH[mips64] = "64" |
191 | MAX_ATOMIC_WIDTH[mips64] = "64" | 191 | MAX_ATOMIC_WIDTH[mips64] = "64" |
192 | 192 | ||
193 | ## mips64-n32-unknown-linux-{gnu, musl} | ||
194 | DATA_LAYOUT[mips64-n32] = "E-m:e-p:32:32-i8:8:32-i16:16:32-i64:64-n32:64-S128" | ||
195 | TARGET_ENDIAN[mips64-n32] = "big" | ||
196 | TARGET_POINTER_WIDTH[mips64-n32] = "32" | ||
197 | TARGET_C_INT_WIDTH[mips64-n32] = "32" | ||
198 | MAX_ATOMIC_WIDTH[mips64-n32] = "64" | ||
199 | |||
193 | ## mips64el-unknown-linux-{gnu, musl} | 200 | ## mips64el-unknown-linux-{gnu, musl} |
194 | DATA_LAYOUT[mips64el] = "e-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128" | 201 | DATA_LAYOUT[mips64el] = "e-m:e-i8:8:32-i16:16:32-i64:64-n32:64-S128" |
195 | TARGET_ENDIAN[mips64el] = "little" | 202 | TARGET_ENDIAN[mips64el] = "little" |