diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-12-29 11:09:18 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-31 17:08:29 +0000 |
commit | ae4311f25fe8ff739af015c8ac2342a62ca7dcdd (patch) | |
tree | 5af9e8af0cb52b8e7bedef112293eade423b3611 /meta | |
parent | 08152ea9ea3c8b6cea2c6f680c2382b31eb001dc (diff) | |
download | poky-ae4311f25fe8ff739af015c8ac2342a62ca7dcdd.tar.gz |
cargo: Do not use open64 on musl anymore
The same rust getrandom patch is needed for cargo on target as well
as it uses the same crate
(From OE-Core rev: 44441c727a5301ab99ab8b4d8b8b1f61f0a810af)
Signed-off-by: Khem Raj <raj.khem@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 | 5 | ||||
-rw-r--r-- | meta/recipes-devtools/rust/files/getrandom-open64.patch (renamed from meta/recipes-devtools/rust/rust/getrandom-open64.patch) | 0 |
2 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rust/cargo_1.66.0.bb b/meta/recipes-devtools/rust/cargo_1.66.0.bb index 37e0123ee3..f45f8f1e12 100644 --- a/meta/recipes-devtools/rust/cargo_1.66.0.bb +++ b/meta/recipes-devtools/rust/cargo_1.66.0.bb | |||
@@ -14,7 +14,10 @@ LIC_FILES_CHKSUM = " \ | |||
14 | require rust-source.inc | 14 | require rust-source.inc |
15 | require rust-snapshot.inc | 15 | require rust-snapshot.inc |
16 | 16 | ||
17 | SRC_URI:append:class-target = " file://crossbeam_atomic.patch;patchdir=${RUSTSRC}" | 17 | SRC_URI:append:class-target = "\ |
18 | file://crossbeam_atomic.patch;patchdir=${RUSTSRC} \ | ||
19 | file://getrandom-open64.patch;patchdir=${RUSTSRC} \ | ||
20 | " | ||
18 | 21 | ||
19 | # Used by crossbeam_atomic.patch | 22 | # Used by crossbeam_atomic.patch |
20 | export TARGET_VENDOR | 23 | export TARGET_VENDOR |
diff --git a/meta/recipes-devtools/rust/rust/getrandom-open64.patch b/meta/recipes-devtools/rust/files/getrandom-open64.patch index 6fc981e2aa..6fc981e2aa 100644 --- a/meta/recipes-devtools/rust/rust/getrandom-open64.patch +++ b/meta/recipes-devtools/rust/files/getrandom-open64.patch | |||