summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rust
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2021-10-10 21:09:56 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-14 11:48:45 +0100
commitd91db6917f109f92845109eacb4a0c9da0351387 (patch)
treef90374794d8e836f90809f29c7d1aa3960909b3c /meta/recipes-devtools/rust
parent0e973d814bb010b8a95771b48c9c439d70e4072d (diff)
downloadpoky-d91db6917f109f92845109eacb4a0c9da0351387.tar.gz
rust: drop PV from include file names
This complicates (semi) automated upgrades, and isn't necessary as we carry only a single version of the toolchain. (From OE-Core rev: f7a6b23d99fba5855cfb34788199877a14206293) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust')
-rw-r--r--meta/recipes-devtools/rust/libstd-rs/0005-Add-base-definitions-for-riscv64-musl-libc-0.2.93.patch (renamed from meta/recipes-devtools/rust/libstd-rs-1.54.0/0005-Add-base-definitions-for-riscv64-musl-libc-0.2.93.patch)0
-rw-r--r--meta/recipes-devtools/rust/libstd-rs/0006-FIXUP-linux-musl-mod.rs-add-riscv64-to-b64-set-libc-.patch (renamed from meta/recipes-devtools/rust/libstd-rs-1.54.0/0006-FIXUP-linux-musl-mod.rs-add-riscv64-to-b64-set-libc-.patch)0
-rw-r--r--meta/recipes-devtools/rust/libstd-rs/0007-FIXUP-Correct-definitions-to-match-musl-libc-0.2.93.patch (renamed from meta/recipes-devtools/rust/libstd-rs-1.54.0/0007-FIXUP-Correct-definitions-to-match-musl-libc-0.2.93.patch)0
-rw-r--r--meta/recipes-devtools/rust/libstd-rs/0008-Update-checksums-for-modified-files-for-rust-1.54.0-.patch (renamed from meta/recipes-devtools/rust/libstd-rs-1.54.0/0008-Update-checksums-for-modified-files-for-rust-1.54.0-.patch)0
-rw-r--r--meta/recipes-devtools/rust/libstd-rs_1.54.0.bb2
-rw-r--r--meta/recipes-devtools/rust/rust-cross-canadian_1.54.0.bb4
-rw-r--r--meta/recipes-devtools/rust/rust-cross_1.54.0.bb2
-rw-r--r--meta/recipes-devtools/rust/rust-llvm_1.54.0.bb2
-rw-r--r--meta/recipes-devtools/rust/rust-snapshot-1.54.0.inc18
-rw-r--r--meta/recipes-devtools/rust/rust-snapshot.inc16
-rw-r--r--meta/recipes-devtools/rust/rust-source-1.54.0.inc3
-rw-r--r--meta/recipes-devtools/rust/rust-source.inc1
-rw-r--r--meta/recipes-devtools/rust/rust-tools-cross-canadian_1.54.0.bb4
-rw-r--r--meta/recipes-devtools/rust/rust_1.54.0.bb4
14 files changed, 26 insertions, 30 deletions
diff --git a/meta/recipes-devtools/rust/libstd-rs-1.54.0/0005-Add-base-definitions-for-riscv64-musl-libc-0.2.93.patch b/meta/recipes-devtools/rust/libstd-rs/0005-Add-base-definitions-for-riscv64-musl-libc-0.2.93.patch
index 7529c4ddd7..7529c4ddd7 100644
--- a/meta/recipes-devtools/rust/libstd-rs-1.54.0/0005-Add-base-definitions-for-riscv64-musl-libc-0.2.93.patch
+++ b/meta/recipes-devtools/rust/libstd-rs/0005-Add-base-definitions-for-riscv64-musl-libc-0.2.93.patch
diff --git a/meta/recipes-devtools/rust/libstd-rs-1.54.0/0006-FIXUP-linux-musl-mod.rs-add-riscv64-to-b64-set-libc-.patch b/meta/recipes-devtools/rust/libstd-rs/0006-FIXUP-linux-musl-mod.rs-add-riscv64-to-b64-set-libc-.patch
index d0ddb3cbe7..d0ddb3cbe7 100644
--- a/meta/recipes-devtools/rust/libstd-rs-1.54.0/0006-FIXUP-linux-musl-mod.rs-add-riscv64-to-b64-set-libc-.patch
+++ b/meta/recipes-devtools/rust/libstd-rs/0006-FIXUP-linux-musl-mod.rs-add-riscv64-to-b64-set-libc-.patch
diff --git a/meta/recipes-devtools/rust/libstd-rs-1.54.0/0007-FIXUP-Correct-definitions-to-match-musl-libc-0.2.93.patch b/meta/recipes-devtools/rust/libstd-rs/0007-FIXUP-Correct-definitions-to-match-musl-libc-0.2.93.patch
index 8be8104f40..8be8104f40 100644
--- a/meta/recipes-devtools/rust/libstd-rs-1.54.0/0007-FIXUP-Correct-definitions-to-match-musl-libc-0.2.93.patch
+++ b/meta/recipes-devtools/rust/libstd-rs/0007-FIXUP-Correct-definitions-to-match-musl-libc-0.2.93.patch
diff --git a/meta/recipes-devtools/rust/libstd-rs-1.54.0/0008-Update-checksums-for-modified-files-for-rust-1.54.0-.patch b/meta/recipes-devtools/rust/libstd-rs/0008-Update-checksums-for-modified-files-for-rust-1.54.0-.patch
index 23bb3aff38..23bb3aff38 100644
--- a/meta/recipes-devtools/rust/libstd-rs-1.54.0/0008-Update-checksums-for-modified-files-for-rust-1.54.0-.patch
+++ b/meta/recipes-devtools/rust/libstd-rs/0008-Update-checksums-for-modified-files-for-rust-1.54.0-.patch
diff --git a/meta/recipes-devtools/rust/libstd-rs_1.54.0.bb b/meta/recipes-devtools/rust/libstd-rs_1.54.0.bb
index 1239f6a176..cc30158d22 100644
--- a/meta/recipes-devtools/rust/libstd-rs_1.54.0.bb
+++ b/meta/recipes-devtools/rust/libstd-rs_1.54.0.bb
@@ -1,4 +1,4 @@
1require rust-source-${PV}.inc 1require rust-source.inc
2require libstd-rs.inc 2require libstd-rs.inc
3 3
4SRC_URI += " \ 4SRC_URI += " \
diff --git a/meta/recipes-devtools/rust/rust-cross-canadian_1.54.0.bb b/meta/recipes-devtools/rust/rust-cross-canadian_1.54.0.bb
index a5d02eb8d7..766912c019 100644
--- a/meta/recipes-devtools/rust/rust-cross-canadian_1.54.0.bb
+++ b/meta/recipes-devtools/rust/rust-cross-canadian_1.54.0.bb
@@ -1,6 +1,6 @@
1require rust-cross-canadian.inc 1require rust-cross-canadian.inc
2require rust-source-${PV}.inc 2require rust-source.inc
3require rust-snapshot-${PV}.inc 3require rust-snapshot.inc
4 4
5FILESEXTRAPATHS:prepend := "${THISDIR}/rust:" 5FILESEXTRAPATHS:prepend := "${THISDIR}/rust:"
6 6
diff --git a/meta/recipes-devtools/rust/rust-cross_1.54.0.bb b/meta/recipes-devtools/rust/rust-cross_1.54.0.bb
index ddc25d36b5..3179d395d2 100644
--- a/meta/recipes-devtools/rust/rust-cross_1.54.0.bb
+++ b/meta/recipes-devtools/rust/rust-cross_1.54.0.bb
@@ -1,2 +1,2 @@
1require rust-cross.inc 1require rust-cross.inc
2require rust-source-${PV}.inc 2require rust-source.inc
diff --git a/meta/recipes-devtools/rust/rust-llvm_1.54.0.bb b/meta/recipes-devtools/rust/rust-llvm_1.54.0.bb
index 81b2bd12b7..5e37798edd 100644
--- a/meta/recipes-devtools/rust/rust-llvm_1.54.0.bb
+++ b/meta/recipes-devtools/rust/rust-llvm_1.54.0.bb
@@ -1,5 +1,5 @@
1# check src/llvm-project/llvm/CMakeLists.txt for llvm version in use 1# check src/llvm-project/llvm/CMakeLists.txt for llvm version in use
2# 2#
3LLVM_RELEASE = "12.0.1" 3LLVM_RELEASE = "12.0.1"
4require rust-source-${PV}.inc 4require rust-source.inc
5require rust-llvm.inc 5require rust-llvm.inc
diff --git a/meta/recipes-devtools/rust/rust-snapshot-1.54.0.inc b/meta/recipes-devtools/rust/rust-snapshot-1.54.0.inc
deleted file mode 100644
index 598f4ed109..0000000000
--- a/meta/recipes-devtools/rust/rust-snapshot-1.54.0.inc
+++ /dev/null
@@ -1,18 +0,0 @@
1require rust-snapshot.inc
2
3## This is information on the rust-snapshot (binary) used to build our current release.
4## snapshot info is taken from rust/src/stage0.txt
5## TODO: find a way to add additional SRC_URIs based on the contents of an
6## earlier SRC_URI.
7RS_VERSION = "1.53.0"
8CARGO_VERSION = "1.53.0"
9
10# TODO: Add hashes for other architecture toolchains as well. Make a script?
11SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "66d5257bbd194db08e67ca63a74cc80cdc4a36eaa30bf7dfe65861d9deaff7f7"
12SRC_URI[rustc-snapshot-x86_64.sha256sum] = "9c2f0443a546dd18f1f020c7711a7b9864432545ceb812e79315c1e76508b193"
13SRC_URI[cargo-snapshot-x86_64.sha256sum] = "e4437f6c83574fc60e183f4df439190f7610e4a669476802795645da66fbb83b"
14
15SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "fc261d0ff057c58b36057c30217bad1a29a9a3f257c70f5df88ad3f1d982386e"
16SRC_URI[rustc-snapshot-aarch64.sha256sum] = "a857e5c615f6b5b3afc6b707ae007b3b4624585b0b2ba9b38b553114db37f8d5"
17SRC_URI[cargo-snapshot-aarch64.sha256sum] = "4fa425a2d4633aeca67fa42695b3b9100f8b988dd1c21e60d6b2aa1164e55c0c"
18
diff --git a/meta/recipes-devtools/rust/rust-snapshot.inc b/meta/recipes-devtools/rust/rust-snapshot.inc
index 79d03afd1b..d448ffc7af 100644
--- a/meta/recipes-devtools/rust/rust-snapshot.inc
+++ b/meta/recipes-devtools/rust/rust-snapshot.inc
@@ -1,3 +1,19 @@
1## This is information on the rust-snapshot (binary) used to build our current release.
2## snapshot info is taken from rust/src/stage0.txt
3## TODO: find a way to add additional SRC_URIs based on the contents of an
4## earlier SRC_URI.
5RS_VERSION = "1.53.0"
6CARGO_VERSION = "1.53.0"
7
8# TODO: Add hashes for other architecture toolchains as well. Make a script?
9SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "66d5257bbd194db08e67ca63a74cc80cdc4a36eaa30bf7dfe65861d9deaff7f7"
10SRC_URI[rustc-snapshot-x86_64.sha256sum] = "9c2f0443a546dd18f1f020c7711a7b9864432545ceb812e79315c1e76508b193"
11SRC_URI[cargo-snapshot-x86_64.sha256sum] = "e4437f6c83574fc60e183f4df439190f7610e4a669476802795645da66fbb83b"
12
13SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "fc261d0ff057c58b36057c30217bad1a29a9a3f257c70f5df88ad3f1d982386e"
14SRC_URI[rustc-snapshot-aarch64.sha256sum] = "a857e5c615f6b5b3afc6b707ae007b3b4624585b0b2ba9b38b553114db37f8d5"
15SRC_URI[cargo-snapshot-aarch64.sha256sum] = "4fa425a2d4633aeca67fa42695b3b9100f8b988dd1c21e60d6b2aa1164e55c0c"
16
1SRC_URI += " \ 17SRC_URI += " \
2 https://static.rust-lang.org/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${BUILD_ARCH};subdir=rust-snapshot-components \ 18 https://static.rust-lang.org/dist/${RUST_STD_SNAPSHOT}.tar.xz;name=rust-std-snapshot-${BUILD_ARCH};subdir=rust-snapshot-components \
3 https://static.rust-lang.org/dist/${RUSTC_SNAPSHOT}.tar.xz;name=rustc-snapshot-${BUILD_ARCH};subdir=rust-snapshot-components \ 19 https://static.rust-lang.org/dist/${RUSTC_SNAPSHOT}.tar.xz;name=rustc-snapshot-${BUILD_ARCH};subdir=rust-snapshot-components \
diff --git a/meta/recipes-devtools/rust/rust-source-1.54.0.inc b/meta/recipes-devtools/rust/rust-source-1.54.0.inc
deleted file mode 100644
index 335c7ceb45..0000000000
--- a/meta/recipes-devtools/rust/rust-source-1.54.0.inc
+++ /dev/null
@@ -1,3 +0,0 @@
1require rust-source.inc
2
3SRC_URI[rust.sha256sum] = "a2934f85f76a35a3796c0fefd31e91f5b6dd8377cd8c3769c1c10e7ce7a495f4"
diff --git a/meta/recipes-devtools/rust/rust-source.inc b/meta/recipes-devtools/rust/rust-source.inc
index 1529ecfafe..a1042d5f87 100644
--- a/meta/recipes-devtools/rust/rust-source.inc
+++ b/meta/recipes-devtools/rust/rust-source.inc
@@ -1,3 +1,4 @@
1SRC_URI[rust.sha256sum] = "a2934f85f76a35a3796c0fefd31e91f5b6dd8377cd8c3769c1c10e7ce7a495f4"
1SRC_URI += "https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz;name=rust" 2SRC_URI += "https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz;name=rust"
2 3
3RUSTSRC = "${WORKDIR}/rustc-${PV}-src" 4RUSTSRC = "${WORKDIR}/rustc-${PV}-src"
diff --git a/meta/recipes-devtools/rust/rust-tools-cross-canadian_1.54.0.bb b/meta/recipes-devtools/rust/rust-tools-cross-canadian_1.54.0.bb
index 053147ba46..2d809d68f5 100644
--- a/meta/recipes-devtools/rust/rust-tools-cross-canadian_1.54.0.bb
+++ b/meta/recipes-devtools/rust/rust-tools-cross-canadian_1.54.0.bb
@@ -1,6 +1,6 @@
1require rust-tools-cross-canadian.inc 1require rust-tools-cross-canadian.inc
2require rust-source-${PV}.inc 2require rust-source.inc
3require rust-snapshot-${PV}.inc 3require rust-snapshot.inc
4 4
5FILESEXTRAPATHS:prepend := "${THISDIR}/rust:" 5FILESEXTRAPATHS:prepend := "${THISDIR}/rust:"
6 6
diff --git a/meta/recipes-devtools/rust/rust_1.54.0.bb b/meta/recipes-devtools/rust/rust_1.54.0.bb
index e7d8d70c26..036fb43334 100644
--- a/meta/recipes-devtools/rust/rust_1.54.0.bb
+++ b/meta/recipes-devtools/rust/rust_1.54.0.bb
@@ -1,6 +1,6 @@
1require rust-target.inc 1require rust-target.inc
2require rust-source-${PV}.inc 2require rust-source.inc
3require rust-snapshot-${PV}.inc 3require rust-snapshot.inc
4 4
5INSANE_SKIP:${PN}:class-native = "already-stripped" 5INSANE_SKIP:${PN}:class-native = "already-stripped"
6 6