1 |
This adds support for using system-bootstrap to build Rust for the |
2 |
armv5tel profile. It does not add binary bootstrap compilers. |
3 |
|
4 |
Signed-off-by: David Michael <fedora.dm0@×××××.com> |
5 |
--- |
6 |
|
7 |
Hi, |
8 |
|
9 |
I have an ARM9 chip that I'd like to be able to target for Rust |
10 |
packages. Things are getting masked in the armv5tel profile due to it |
11 |
not having Rust binaries. Can we start fixing this? |
12 |
|
13 |
I've bootstrapped armv5te Rust by cross-compiling it, and it seems to |
14 |
work. I can send my ebuild changes if anyone wants to build their own |
15 |
armv5te compiler, but the eclass should at least define its default |
16 |
builtin target so that it can be built with USE=system-bootstrap. |
17 |
|
18 |
Thanks. |
19 |
|
20 |
David |
21 |
|
22 |
eclass/rust-toolchain.eclass | 1 + |
23 |
1 file changed, 1 insertion(+) |
24 |
|
25 |
diff --git a/eclass/rust-toolchain.eclass b/eclass/rust-toolchain.eclass |
26 |
index 9d7360ed1c4..9ae4ad93945 100644 |
27 |
--- a/eclass/rust-toolchain.eclass |
28 |
+++ b/eclass/rust-toolchain.eclass |
29 |
@@ -41,6 +41,7 @@ rust_abi() { |
30 |
powerpc64*) echo powerpc64-unknown-linux-gnu;; |
31 |
x86_64*gnu) echo x86_64-unknown-linux-gnu;; |
32 |
x86_64*musl) echo x86_64-unknown-linux-musl;; |
33 |
+ armv5te*) echo armv5te-unknown-linux-gnueabi;; |
34 |
armv6j*s*) echo arm-unknown-linux-gnueabi;; |
35 |
armv6j*h*) echo arm-unknown-linux-gnueabihf;; |
36 |
armv7a*h*) echo armv7-unknown-linux-gnueabihf;; |
37 |
-- |
38 |
2.26.2 |