summaryrefslogtreecommitdiff
path: root/code/Makefile.fe310
diff options
context:
space:
mode:
Diffstat (limited to 'code/Makefile.fe310')
-rw-r--r--code/Makefile.fe31012
1 files changed, 12 insertions, 0 deletions
diff --git a/code/Makefile.fe310 b/code/Makefile.fe310
new file mode 100644
index 0000000..aff2784
--- /dev/null
+++ b/code/Makefile.fe310
@@ -0,0 +1,12 @@
+htable=
+vconn=vconn
+platform=fe310
+rbuf_obj=
+
+FE310_HOME=/Users/majstor/src/sifive/freedom-e-sdk
+EOS_HOME=/Users/majstor/src/sifive/hello
+
+CC=$(FE310_HOME)/work/build/riscv-gnu-toolchain/riscv64-unknown-elf/prefix/bin/riscv64-unknown-elf-gcc
+AR=$(FE310_HOME)/work/build/riscv-gnu-toolchain/riscv64-unknown-elf/prefix/bin/riscv64-unknown-elf-ar
+CFLAGS_PL=-O3 -fno-builtin-printf -march=rv32imac -mabi=ilp32 -mcmodel=medany -I$(EOS_HOME) -I$(FE310_HOME)/bsp/include -I$(FE310_HOME)/bsp/drivers -I$(FE310_HOME)/bsp/env -I$(FE310_HOME)/bsp/env/freedom-e300-hifive1
+# LDFLAGS_PL=-lm -pthread \ No newline at end of file