summaryrefslogtreecommitdiff
path: root/fw
diff options
context:
space:
mode:
Diffstat (limited to 'fw')
-rw-r--r--fw/fe310/platform.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/fw/fe310/platform.mk b/fw/fe310/platform.mk
index ab45367..1222957 100644
--- a/fw/fe310/platform.mk
+++ b/fw/fe310/platform.mk
@@ -1,5 +1,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
+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