diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-10-10 21:09:56 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-14 11:48:45 +0100 |
commit | d91db6917f109f92845109eacb4a0c9da0351387 (patch) | |
tree | f90374794d8e836f90809f29c7d1aa3960909b3c /meta/recipes-devtools/rust | |
parent | 0e973d814bb010b8a95771b48c9c439d70e4072d (diff) | |
download | poky-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')
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 @@ | |||
1 | require rust-source-${PV}.inc | 1 | require rust-source.inc |
2 | require libstd-rs.inc | 2 | require libstd-rs.inc |
3 | 3 | ||
4 | SRC_URI += " \ | 4 | SRC_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 @@ | |||
1 | require rust-cross-canadian.inc | 1 | require rust-cross-canadian.inc |
2 | require rust-source-${PV}.inc | 2 | require rust-source.inc |
3 | require rust-snapshot-${PV}.inc | 3 | require rust-snapshot.inc |
4 | 4 | ||
5 | FILESEXTRAPATHS:prepend := "${THISDIR}/rust:" | 5 | FILESEXTRAPATHS: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 @@ | |||
1 | require rust-cross.inc | 1 | require rust-cross.inc |
2 | require rust-source-${PV}.inc | 2 | require 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 | # |
3 | LLVM_RELEASE = "12.0.1" | 3 | LLVM_RELEASE = "12.0.1" |
4 | require rust-source-${PV}.inc | 4 | require rust-source.inc |
5 | require rust-llvm.inc | 5 | require 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 @@ | |||
1 | require 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. | ||
7 | RS_VERSION = "1.53.0" | ||
8 | CARGO_VERSION = "1.53.0" | ||
9 | |||
10 | # TODO: Add hashes for other architecture toolchains as well. Make a script? | ||
11 | SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "66d5257bbd194db08e67ca63a74cc80cdc4a36eaa30bf7dfe65861d9deaff7f7" | ||
12 | SRC_URI[rustc-snapshot-x86_64.sha256sum] = "9c2f0443a546dd18f1f020c7711a7b9864432545ceb812e79315c1e76508b193" | ||
13 | SRC_URI[cargo-snapshot-x86_64.sha256sum] = "e4437f6c83574fc60e183f4df439190f7610e4a669476802795645da66fbb83b" | ||
14 | |||
15 | SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "fc261d0ff057c58b36057c30217bad1a29a9a3f257c70f5df88ad3f1d982386e" | ||
16 | SRC_URI[rustc-snapshot-aarch64.sha256sum] = "a857e5c615f6b5b3afc6b707ae007b3b4624585b0b2ba9b38b553114db37f8d5" | ||
17 | SRC_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. | ||
5 | RS_VERSION = "1.53.0" | ||
6 | CARGO_VERSION = "1.53.0" | ||
7 | |||
8 | # TODO: Add hashes for other architecture toolchains as well. Make a script? | ||
9 | SRC_URI[rust-std-snapshot-x86_64.sha256sum] = "66d5257bbd194db08e67ca63a74cc80cdc4a36eaa30bf7dfe65861d9deaff7f7" | ||
10 | SRC_URI[rustc-snapshot-x86_64.sha256sum] = "9c2f0443a546dd18f1f020c7711a7b9864432545ceb812e79315c1e76508b193" | ||
11 | SRC_URI[cargo-snapshot-x86_64.sha256sum] = "e4437f6c83574fc60e183f4df439190f7610e4a669476802795645da66fbb83b" | ||
12 | |||
13 | SRC_URI[rust-std-snapshot-aarch64.sha256sum] = "fc261d0ff057c58b36057c30217bad1a29a9a3f257c70f5df88ad3f1d982386e" | ||
14 | SRC_URI[rustc-snapshot-aarch64.sha256sum] = "a857e5c615f6b5b3afc6b707ae007b3b4624585b0b2ba9b38b553114db37f8d5" | ||
15 | SRC_URI[cargo-snapshot-aarch64.sha256sum] = "4fa425a2d4633aeca67fa42695b3b9100f8b988dd1c21e60d6b2aa1164e55c0c" | ||
16 | |||
1 | SRC_URI += " \ | 17 | SRC_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 @@ | |||
1 | require rust-source.inc | ||
2 | |||
3 | SRC_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 @@ | |||
1 | SRC_URI[rust.sha256sum] = "a2934f85f76a35a3796c0fefd31e91f5b6dd8377cd8c3769c1c10e7ce7a495f4" | ||
1 | SRC_URI += "https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz;name=rust" | 2 | SRC_URI += "https://static.rust-lang.org/dist/rustc-${PV}-src.tar.xz;name=rust" |
2 | 3 | ||
3 | RUSTSRC = "${WORKDIR}/rustc-${PV}-src" | 4 | RUSTSRC = "${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 @@ | |||
1 | require rust-tools-cross-canadian.inc | 1 | require rust-tools-cross-canadian.inc |
2 | require rust-source-${PV}.inc | 2 | require rust-source.inc |
3 | require rust-snapshot-${PV}.inc | 3 | require rust-snapshot.inc |
4 | 4 | ||
5 | FILESEXTRAPATHS:prepend := "${THISDIR}/rust:" | 5 | FILESEXTRAPATHS: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 @@ | |||
1 | require rust-target.inc | 1 | require rust-target.inc |
2 | require rust-source-${PV}.inc | 2 | require rust-source.inc |
3 | require rust-snapshot-${PV}.inc | 3 | require rust-snapshot.inc |
4 | 4 | ||
5 | INSANE_SKIP:${PN}:class-native = "already-stripped" | 5 | INSANE_SKIP:${PN}:class-native = "already-stripped" |
6 | 6 | ||