mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
loader: cargo: add support for -xous- target_os
Add link commands to the cargo config so that the loader can be built for the `riscv32imac-unknown-xous-elf` target. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
184274782c
commit
f952d0d9fe
1 changed files with 8 additions and 0 deletions
|
|
@ -13,3 +13,11 @@ rustflags = [
|
||||||
"-C", "force-frame-pointers=no",
|
"-C", "force-frame-pointers=no",
|
||||||
"-C", "link-arg=-Map=loader.map",
|
"-C", "link-arg=-Map=loader.map",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[target.riscv32imac-unknown-xous-elf]
|
||||||
|
rustflags = [
|
||||||
|
"-C", "link-arg=-Tlink.x",
|
||||||
|
"-C", "linker-plugin-lto=yes",
|
||||||
|
"-C", "force-frame-pointers=no",
|
||||||
|
"-C", "link-arg=-Map=loader.map",
|
||||||
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue