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:
committed by
Olof Kindgren
parent
a26c2965c0
commit
086090046c
@@ -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$@ $<
|
||||
|
||||
Reference in New Issue
Block a user