4 lines
255 B
Makefile
4 lines
255 B
Makefile
example: example.c
|
|
riscv32-none-elf-gcc -fno-builtin -fvisibility=hidden -nostdlib -nostartfiles -march=rv32im -mabi=ilp32 -o example example.c -T linker.ld
|
|
riscv32-none-elf-strip -R .riscv.attributes example
|
|
riscv32-none-elf-strip -R .comment example
|