summaryrefslogtreecommitdiff
path: root/code/fe310/eos/Makefile
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2019-11-24 18:25:18 +0100
committerUros Majstorovic <majstor@majstor.org>2019-11-24 18:25:18 +0100
commit22a79e03a60bed3df7ba24015564c4b48bb811cb (patch)
tree51c5ec4bf4fbf52e13af34d08df71c5218e22317 /code/fe310/eos/Makefile
parent3eb69c840d1f42d6584834406bd2fb9413a8293a (diff)
fixed evt msg get; cleanup
Diffstat (limited to 'code/fe310/eos/Makefile')
-rw-r--r--code/fe310/eos/Makefile14
1 files changed, 4 insertions, 10 deletions
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