mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
xous-rs: extend build script to pick arm assembly binary too
This commit is contained in:
parent
294d75da4e
commit
92969c8d42
1 changed files with 1 additions and 1 deletions
|
|
@ -8,7 +8,7 @@ fn main() {
|
||||||
let target = env::var("TARGET").unwrap();
|
let target = env::var("TARGET").unwrap();
|
||||||
let name = env::var("CARGO_PKG_NAME").unwrap();
|
let name = env::var("CARGO_PKG_NAME").unwrap();
|
||||||
|
|
||||||
if target.starts_with("riscv") {
|
if target.starts_with("riscv") || target.starts_with("arm") {
|
||||||
fs::copy(
|
fs::copy(
|
||||||
format!("bin/{}.a", target),
|
format!("bin/{}.a", target),
|
||||||
out_dir.join(format!("lib{}.a", name)),
|
out_dir.join(format!("lib{}.a", name)),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue