riscv64-mycpu: pass compilation of am-tests

This commit is contained in:
Zihao Yu 2021-07-13 16:59:47 +08:00
parent 07eb9ba416
commit 01d76dd0d5
6 changed files with 152 additions and 1 deletions

View file

@ -10,7 +10,11 @@ AM_SRCS := mycpu/start.S \
mycpu/libgcc/div.S \
mycpu/ioe.c \
mycpu/timer.c \
mycpu/input.c
mycpu/input.c \
mycpu/cte.c \
mycpu/trap.S \
mycpu/vme.c \
mycpu/mpe.c
CFLAGS += -fdata-sections -ffunction-sections
LDFLAGS += -T $(AM_HOME)/scripts/platform/nemu.ld --defsym=_pmem_start=0x80000000 --defsym=_entry_offset=0x0