forked from M-Labs/artiq
board_misoc: build vectors.S with rv64 target in misoc
Signed-off-by: occheung <dc@m-labs.hk>
This commit is contained in:
parent
b87ea79d51
commit
46102ee737
|
@ -13,6 +13,7 @@ fn main() {
|
||||||
|
|
||||||
println!("cargo:rerun-if-changed={}", vectors_path.to_str().unwrap());
|
println!("cargo:rerun-if-changed={}", vectors_path.to_str().unwrap());
|
||||||
cc::Build::new()
|
cc::Build::new()
|
||||||
|
.flag("--target=riscv64-unknown-elf")
|
||||||
.file(vectors_path)
|
.file(vectors_path)
|
||||||
.compile("vectors");
|
.compile("vectors");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue