nexus-am/am/arch/riscv64-nemu.mk

14 lines
431 B
Makefile

include $(AM_HOME)/am/arch/isa/riscv64.mk
include $(AM_HOME)/am/arch/platform/nemu.mk
AM_SRCS += nemu/isa/riscv/trm.c \
nemu/isa/riscv/cte.c \
nemu/isa/riscv/trap.S \
nemu/isa/riscv/cte64.c \
nemu/isa/riscv/mtime.S \
nemu/isa/riscv/vme.c \
nemu/isa/riscv/boot/start.S
CFLAGS += -DISA_H=\"riscv.h\"
LDFLAGS += -T $(AM_HOME)/am/src/nemu/isa/riscv/boot/loader64.ld