forked from rust-embedded/meta-rust-bin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrust-bin-cross_1.59.0.bb
69 lines (61 loc) · 3.93 KB
/
rust-bin-cross_1.59.0.bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
def get_by_triple(hashes, triple):
try:
return hashes[triple]
except:
raise bb.parse.SkipRecipe("Unsupported triple: %s" % triple)
def rust_std_md5(triple):
HASHES = {
"aarch64-unknown-linux-gnu": "63f3266fa1f82698c5c30f552ae14d53",
"aarch64-unknown-linux-musl": "7ec89ce7f70900a71bceb0b0acb6725b",
"arm-unknown-linux-gnueabi": "531da99285995808f698a2fa17a70710",
"arm-unknown-linux-gnueabihf": "e7a01e4776cee18972aeac7fd5bb13eb",
"armv5te-unknown-linux-gnueabi": "3b8cda807f81848647fd33aa7ca23eda",
"armv5te-unknown-linux-musleabi": "ee07d14c3ae02f2456b69e9323aed2a0",
"armv7-unknown-linux-gnueabihf": "6d95e36897a970bcb616e67ac1e7b36b",
"armv7-unknown-linux-musleabihf": "752011663a41fcf84aad2143eda56a1f",
"i686-unknown-linux-gnu": "c2f9f27ab8069eb38d8eea014912efed",
"mips-unknown-linux-gnu": "574b6a671275cff6053008eea4bb7af3",
"mipsel-unknown-linux-gnu": "71d0540f4aac0e519680f2b6d4709b38",
"powerpc-unknown-linux-gnu": "14e9875d79781fb3b03ce51e969e182d",
"x86_64-unknown-linux-gnu": "bbb80d3b60091cc5d6328ef6b0d49440",
}
return get_by_triple(HASHES, triple)
def rust_std_sha256(triple):
HASHES = {
"aarch64-unknown-linux-gnu": "81dbd37919f631f962ac0798111803eb8f06ffde608f0e5dd3682d701cf5566d",
"aarch64-unknown-linux-musl": "e4f73617db73df7cb3b97984e38184f57292cc527654b52451293cd70f36f5a4",
"arm-unknown-linux-gnueabi": "11d0f3305cfa2b1ee5d402d63a6c9989dbe9df0c909690527b1586cc59c8cf69",
"arm-unknown-linux-gnueabihf": "14511cf20e65aad774744e8f5a6f2b26cc67c4a73db66fe20923c9cc3deea605",
"armv5te-unknown-linux-gnueabi": "c48dee7e00bf1bbd4b2282dad5a9ad870b8a11ed41e6d5ff790ccf2590c5927b",
"armv5te-unknown-linux-musleabi": "715d1feedc346fbf1a5075f67668f475c701445ba86d913248301342cf8081f9",
"armv7-unknown-linux-gnueabihf": "ac4c1758db6001179faebe210a7d2bd1beacf3998d690d0957a5412728763c45",
"armv7-unknown-linux-musleabihf": "282586b053bf60cf21bb9a6275edc699bf3a9861cafeb378ce20e94d431a12fc",
"i686-unknown-linux-gnu": "8a2f0f36b4d2146e044fd6253db24f86319c2109f54b34d708cf25f754778d73",
"mips-unknown-linux-gnu": "04b223dff64c134b752fb00f112296f84fca83865f2a459e065bba0c93f299f2",
"mipsel-unknown-linux-gnu": "79ff7848b12620347001c6aac5f4b8e2059ced4b6b8177f26b9d7be7b18f9547",
"powerpc-unknown-linux-gnu": "db2bd4cc6389e2413fd91877bd5ff0d3b024b9e68fc402ad6b6422f61e6ab5a9",
"x86_64-unknown-linux-gnu": "3927fd7a094ba063daaf3163fa1b3b0b196968356845fe31c901a23ecc5048d4",
}
return get_by_triple(HASHES, triple)
def rustc_md5(triple):
HASHES = {
"aarch64-unknown-linux-gnu": "ca423cd11c0dcaab8ecaab56c52601fe",
"arm-unknown-linux-gnueabi": "3d279c992c74752f21eef1b942a902a7",
"arm-unknown-linux-gnueabihf": "c526d413635cf1534c190141bb18e30a",
"armv7-unknown-linux-gnueabihf": "debc570a1f56198ffefd1e3de510e353",
"i686-unknown-linux-gnu": "b2518b798342c6d5010ce03397a42d52",
"x86_64-unknown-linux-gnu": "8e1205b7890e85f45febfe4d4a88b0be",
}
return get_by_triple(HASHES, triple)
def rustc_sha256(triple):
HASHES = {
"aarch64-unknown-linux-gnu": "04d4add5530d247214ec8afd32f2c91d75b219035130b877e4769cebcd4174d8",
"arm-unknown-linux-gnueabi": "c577c39e47161c9f8029afd428ad676b04b1d44265fc2741a9307cb10cc87e10",
"arm-unknown-linux-gnueabihf": "2773b2049b599f54fc0c8e799e539140b41fb685183343b161f049321b700267",
"armv7-unknown-linux-gnueabihf": "05b343bacd43d3789820b59f945c3dc39d6b6534ab7606b2853fc5dca7bf0d9b",
"i686-unknown-linux-gnu": "55e41a12c84628ef7a592da7673a687d1e02ecdc2c8abb1ed224ee00edf55b60",
"x86_64-unknown-linux-gnu": "e7ed041c93b77a7d986aa198d28f63ab96493fdf164bd28c8785c5b31a9e62d9",
}
return get_by_triple(HASHES, triple)
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=93a95682d51b4cb0a633a97046940ef0"
require rust-bin-cross.inc