From c5158873c583eb668f782d4fa7d5cbf86254c11a Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sun, 24 Nov 2019 18:26:05 +0100 Subject: fixed build for fe310 --- code/ecp/Makefile.fe310 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'code/ecp') diff --git a/code/ecp/Makefile.fe310 b/code/ecp/Makefile.fe310 index 23938a8..f921f33 100644 --- a/code/ecp/Makefile.fe310 +++ b/code/ecp/Makefile.fe310 @@ -4,9 +4,5 @@ htable= vconn=vconn 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 = -DECP_WITH_VCONN=1 -DECP_DEBUG=1 -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 -I../fe310 -I../../fe310 +include $(FE310_HOME)/common.mk +CFLAGS += -DECP_WITH_VCONN=1 -DECP_DEBUG=1 -I$(FE310_HOME) -I$(FE310_HOME)/include -- cgit v1.2.3