diff options
Diffstat (limited to 'code/ecp/Makefile.fe310')
-rw-r--r-- | code/ecp/Makefile.fe310 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/code/ecp/Makefile.fe310 b/code/ecp/Makefile.fe310 new file mode 100644 index 0000000..130566b --- /dev/null +++ b/code/ecp/Makefile.fe310 @@ -0,0 +1,12 @@ +htable= +vconn=vconn +platform=fe310 +rbuf_obj= + +FE310_HOME=/opt/my/freedom-e-sdk + +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$(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 |