mirror of
https://github.com/ringtailsoftware/uvm32.git
synced 2026-06-05 22:43:39 +00:00
uvm32 initial version
This commit is contained in:
commit
c9d30b6d28
34 changed files with 2088 additions and 0 deletions
12
apps/zig-mandel/Makefile
Normal file
12
apps/zig-mandel/Makefile
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
all:
|
||||
# zig's objcopy is broken, so use external tool
|
||||
# https://ziggit.dev/t/addobjcopy-producing-zero-padding-at-start-of-binary/13384
|
||||
zig build && docker run -v `pwd`:/data -w /data --rm riscv-dev riscv64-unknown-elf-objcopy zig-out/bin/mandel -O binary mandel.bin
|
||||
|
||||
clean:
|
||||
rm -rf mandel.bin zig-out .zig-cache
|
||||
|
||||
test: all
|
||||
../../emulator/emulator mandel.bin
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue