diff options
| author | Alex Kiernan <alex.kiernan@gmail.com> | 2022-12-28 15:23:31 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-28 23:59:56 +0000 |
| commit | a5a8904f8c8d81059ba79fd84d3a808462c86065 (patch) | |
| tree | 125676addb7c448fc33d4d99c906f04fab956dd9 /meta | |
| parent | f504a2a21c38c6386e57680a8543deea99928031 (diff) | |
| download | poky-a5a8904f8c8d81059ba79fd84d3a808462c86065.tar.gz | |
cargo: Include crossbeam-utils patch
We need patched crossbeam-utils in cargo as well as rust, move cargo
alongside rust so they can both use the same patch.
(From OE-Core rev: 39402790724014a39b265ee1978396a0514fdc98)
Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/rust/cargo_1.66.0.bb (renamed from meta/recipes-devtools/cargo/cargo_1.66.0.bb) | 9 | ||||
| -rw-r--r-- | meta/recipes-devtools/rust/files/crossbeam_atomic.patch (renamed from meta/recipes-devtools/rust/rust/crossbeam_atomic.patch) | 0 |
2 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-devtools/cargo/cargo_1.66.0.bb b/meta/recipes-devtools/rust/cargo_1.66.0.bb index fe8049b68c..f00c67bef5 100644 --- a/meta/recipes-devtools/cargo/cargo_1.66.0.bb +++ b/meta/recipes-devtools/rust/cargo_1.66.0.bb | |||
| @@ -11,8 +11,13 @@ LIC_FILES_CHKSUM = " \ | |||
| 11 | file://LICENSE-THIRD-PARTY;md5=f257ad009884cb88a3a87d6920e7180a \ | 11 | file://LICENSE-THIRD-PARTY;md5=f257ad009884cb88a3a87d6920e7180a \ |
| 12 | " | 12 | " |
| 13 | 13 | ||
| 14 | require recipes-devtools/rust/rust-source.inc | 14 | require rust-source.inc |
| 15 | require recipes-devtools/rust/rust-snapshot.inc | 15 | require rust-snapshot.inc |
| 16 | |||
| 17 | SRC_URI:append:class-target = " file://crossbeam_atomic.patch;patchdir=${RUSTSRC}" | ||
| 18 | |||
| 19 | # Used by crossbeam_atomic.patch | ||
| 20 | export TARGET_VENDOR | ||
| 16 | 21 | ||
| 17 | S = "${RUSTSRC}/src/tools/cargo" | 22 | S = "${RUSTSRC}/src/tools/cargo" |
| 18 | CARGO_VENDORING_DIRECTORY = "${RUSTSRC}/vendor" | 23 | CARGO_VENDORING_DIRECTORY = "${RUSTSRC}/vendor" |
diff --git a/meta/recipes-devtools/rust/rust/crossbeam_atomic.patch b/meta/recipes-devtools/rust/files/crossbeam_atomic.patch index b24ac439c6..b24ac439c6 100644 --- a/meta/recipes-devtools/rust/rust/crossbeam_atomic.patch +++ b/meta/recipes-devtools/rust/files/crossbeam_atomic.patch | |||
