1require rust-source.inc 2require libstd-rs.inc 3 4# Check if libc crate is >= 0.2.17 before dropping this patch 5SRC_URI += " \ 6 file://0001-Add-400-series-syscalls-to-musl-riscv64-definitions.patch;patchdir=../../ \ 7 file://0001-Update-checksums-for-modified-vendored-libc.patch;patchdir=../../ \ 8" 9# libstd moved from src/libstd to library/std in 1.47+ 10S = "${RUSTSRC}/library/std" 11 12BBCLASSEXTEND = "nativesdk"