1
0
mirror of https://github.com/olofk/serv.git synced 2026-03-05 02:15:10 +00:00

Allow the serv software Makefile to use a different compiler prefix if defined.

This commit is contained in:
BradWalker
2024-05-25 20:27:12 -06:00
committed by Olof Kindgren
parent a26c2965c0
commit 086090046c

View File

@@ -1,4 +1,4 @@
TOOLCHAIN_PREFIX=riscv64-unknown-elf-
TOOLCHAIN_PREFIX?=riscv64-unknown-elf-
%.elf: %.S link.ld
$(TOOLCHAIN_PREFIX)gcc -nostartfiles -nostdlib -march=rv32i -mabi=ilp32 -Tlink.ld -o$@ $<