summaryrefslogtreecommitdiff
path: root/fw/fe310/platform.mk
blob: 12229574fc55bad5642ccd096818a174f0d9ca04 (plain)
1
2
3
4
5
6
CC =      $(RISCV_HOME)/bin/riscv64-unknown-elf-gcc
AR =	  $(RISCV_HOME)/bin/riscv64-unknown-elf-ar
RANLIB =  $(RISCV_HOME)/bin/riscv64-unknown-elf-ranlib
OBJCOPY = $(RISCV_HOME)/bin/riscv64-unknown-elf-objcopy

CFLAGS = -march=rv32imac -mabi=ilp32 -mcmodel=medlow -ffunction-sections -fdata-sections --specs=nano.specs -O2