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>
This commit is contained in:
Khem Raj
2022-12-29 11:09:18 -08:00
committed by Richard Purdie
parent 08152ea9ea
commit ae4311f25f
2 changed files with 4 additions and 1 deletions

View File

@@ -14,7 +14,10 @@ LIC_FILES_CHKSUM = " \
require rust-source.inc
require rust-snapshot.inc
SRC_URI:append:class-target = " file://crossbeam_atomic.patch;patchdir=${RUSTSRC}"
SRC_URI:append:class-target = "\
file://crossbeam_atomic.patch;patchdir=${RUSTSRC} \
file://getrandom-open64.patch;patchdir=${RUSTSRC} \
"
# Used by crossbeam_atomic.patch
export TARGET_VENDOR