1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
require rust-target.inc require rust-source-${PV}.inc require rust-snapshot-${PV}.inc SRC_URI += " \ file://riscv-march.patch \ file://rv64gc.patch \ " do_compile () { rust_runx build --stage 2 } rust_do_install() { rust_runx install }