From 22a79e03a60bed3df7ba24015564c4b48bb811cb Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Sun, 24 Nov 2019 18:25:18 +0100 Subject: fixed evt msg get; cleanup --- code/fe310/eos/Makefile | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) (limited to 'code/fe310/eos/Makefile') diff --git a/code/fe310/eos/Makefile b/code/fe310/eos/Makefile index b7f401c..cb91b59 100644 --- a/code/fe310/eos/Makefile +++ b/code/fe310/eos/Makefile @@ -1,13 +1,8 @@ -include ../../ecp/Makefile.fe310 +include ../common.mk -FE310_HOME = /opt/my/freedom-e-sdk +CFLAGS += -I../include -I../drivers -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 = $(CFLAGS_PL) -I../.. - -obj = trap_entry.o eos.o msgq.o event.o interrupt.o timer.o i2s.o spi.o net.o sock.o ecp.o +obj = trap_entry.o eos.o msgq.o event.o interrupt.o timer.o i2s.o spi.o net.o sock.o %.o: %.c %.h @@ -17,7 +12,6 @@ obj = trap_entry.o eos.o msgq.o event.o interrupt.o timer.o i2s.o spi.o net.o so $(CC) $(CFLAGS) -c $< all: $(obj) - $(AR) rcs libeos.a $(obj) clean: - rm -f *.o *.a \ No newline at end of file + rm -f *.o \ No newline at end of file -- cgit v1.2.3