summaryrefslogtreecommitdiff
path: root/fw/fe310/common.mk
blob: 9fddf6775ca1f890047a3ae6b8cffc5271b171cf (plain)
1
2
3
4
5
CC =     $(RISCV_HOME)/bin/riscv64-unknown-elf-gcc
AR =     $(RISCV_HOME)/bin/riscv64-unknown-elf-ar
RANLIB = $(RISCV_HOME)/bin/riscv64-unknown-elf-ranlib

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