diff options
author | Uros Majstorovic <majstor@majstor.org> | 2018-03-14 19:08:00 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2018-03-14 19:08:00 +0100 |
commit | 5fe913c88d8c1781de336cca3949142bd9fc370d (patch) | |
tree | 6bf57e4e34fb60e46035175946b15581b2ef638c /code/fe310/eos/Makefile | |
parent | 4b655364d426f8429b063d9746c754beca6f7d1f (diff) |
i2s driver added; new amd trap entry vector added
Diffstat (limited to 'code/fe310/eos/Makefile')
-rw-r--r-- | code/fe310/eos/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/code/fe310/eos/Makefile b/code/fe310/eos/Makefile index 43313fd..e84d0f6 100644 --- a/code/fe310/eos/Makefile +++ b/code/fe310/eos/Makefile @@ -5,12 +5,15 @@ AR = $(FE310_HOME)/work/build/riscv-gnu-toolchain/riscv64-unknown-elf/prefix/bin CFLAGS = -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../.. -obj = eos.o msgq.o event.o interrupt.o timer.o net.o ecp.o +obj = trap_entry.o eos.o msgq.o event.o interrupt.o timer.o i2s.o net.o ecp.o %.o: %.c %.h $(CC) $(CFLAGS) -c $< +%.o: %.S + $(CC) $(CFLAGS) -c $< + all: $(obj) $(AR) rcs libeos.a $(obj) |