mirror of
https://github.com/Noratrieb/rustv32i.git
synced 2026-01-14 21:35:02 +01:00
make it work
This commit is contained in:
parent
29bb73425b
commit
ab8e4ebc13
10 changed files with 608 additions and 186 deletions
|
|
@ -1,5 +1,12 @@
|
|||
CC = clang -Wall -Wpedantic -target riscv32-unknown-linux-gnu -fuse-ld=lld -march=rv32i
|
||||
CC_STATIC = $(CC) -static -nostdlib -nodefaultlibs
|
||||
|
||||
RUSTC = rustc --target riscv32i-unknown-none-elf
|
||||
|
||||
all: init init1
|
||||
|
||||
init: init.c
|
||||
$(CC_STATIC) init.c -o init
|
||||
|
||||
init1: init1.rs
|
||||
$(RUSTC) init1.rs
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue