xous-rs: extend build script to pick arm assembly binary too

This commit is contained in:
eupn 2023-03-14 18:59:49 +04:00
parent 294d75da4e
commit 92969c8d42
No known key found for this signature in database
GPG key ID: 0BBE77FB42014014

View file

@ -8,7 +8,7 @@ fn main() {
let target = env::var("TARGET").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(
format!("bin/{}.a", target),
out_dir.join(format!("lib{}.a", name)),