mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
loader: initial riscv32imac-unknown-xous compat
Initial changes required to get the loader building for the `riscv32imac-unknown-xous-elf` target. Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
f952d0d9fe
commit
c9c02b5d93
11 changed files with 5 additions and 2 deletions
|
|
@ -5,6 +5,7 @@ $crate = "xous-kernel"
|
|||
|
||||
riscv64-unknown-elf-gcc -ggdb3 -c -mabi=ilp32 -march=rv32imac src/asm.S -o bin/$crate.o
|
||||
riscv64-unknown-elf-ar crs bin/riscv32imac-unknown-none-elf.a bin/$crate.o
|
||||
riscv64-unknown-elf-ar crs bin/riscv32imac-unknown-xous-elf.a bin/$crate.o
|
||||
riscv64-unknown-elf-ar crs bin/riscv32imc-unknown-none-elf.a bin/$crate.o
|
||||
|
||||
riscv64-unknown-elf-gcc -ggdb3 -c -mabi=ilp32 -march=rv32i src/asm.S -DSKIP_MULTICORE -o bin/$crate.o
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ rm -f bin/*.a
|
|||
|
||||
riscv64-unknown-elf-gcc -ggdb3 -c -mabi=ilp32 -march=rv32imac src/asm.S -o bin/$crate.o
|
||||
ar crs bin/riscv32imac-unknown-none-elf.a bin/$crate.o
|
||||
ar crs bin/riscv32imac-unknown-xous-elf.a bin/$crate.o
|
||||
ar crs bin/riscv32imc-unknown-none-elf.a bin/$crate.o
|
||||
|
||||
riscv64-unknown-elf-gcc -ggdb3 -c -mabi=ilp32 -march=rv32i src/asm.S -DSKIP_MULTICORE -o bin/$crate.o
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
BIN
loader/bin/riscv32imac-unknown-xous-elf.a
Normal file
BIN
loader/bin/riscv32imac-unknown-xous-elf.a
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -133,6 +133,7 @@ SECTIONS
|
|||
/DISCARD/ :
|
||||
{
|
||||
*(.eh_frame);
|
||||
*(.eh_frame_hdr);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#![cfg_attr(target_os = "none", no_std)]
|
||||
#![cfg_attr(any(target_os = "none", target_os = "xous"), no_std)]
|
||||
|
||||
use digest::{BlockInput, FixedOutputDirty, Reset, Update};
|
||||
use digest::consts::{U64, U128};
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#![cfg_attr(target_os = "none", no_std)]
|
||||
#![cfg_attr(any(target_os = "none", target_os = "xous"), no_std)]
|
||||
pub mod generated;
|
||||
pub use generated::*;
|
||||
|
|
|
|||
Loading…
Reference in a new issue