The rust patches for riscv64 have been upstreamed and are not needed anymore. The riscv64 patches for libstd-rs need to be applied to libc-0.2.93 to work. Some slight modifications are necessary. Signed-off-by: Ralf Anton Beier <ralf_beier@me.com>
12 lines
566 B
BlitzBasic
12 lines
566 B
BlitzBasic
require rust-source-${PV}.inc
|
|
require libstd-rs.inc
|
|
|
|
SRC_URI += " \
|
|
file://0005-Add-base-definitions-for-riscv64-musl-libc-0.2.93.patch;patchdir=../../ \
|
|
file://0006-FIXUP-linux-musl-mod.rs-add-riscv64-to-b64-set-libc-.patch;patchdir=../../ \
|
|
file://0007-FIXUP-Correct-definitions-to-match-musl-libc-0.2.93.patch;patchdir=../../ \
|
|
file://0008-Update-checksums-for-modified-files-for-rust-1.54.0-.patch;patchdir=../../ \
|
|
"
|
|
# libstd moved from src/libstd to library/std in 1.47+
|
|
S = "${RUSTSRC}/library/std"
|