xinyangli
8e4feb4010
NJU-ProjectN/abstract-machine 3348db971fd860be5cb28e21c18f9d0e65d0c96a Merge pull request #8 from Jasonyanyusong/master
10 lines
399 B
Makefile
10 lines
399 B
Makefile
include $(AM_HOME)/scripts/isa/riscv.mk
|
|
include $(AM_HOME)/scripts/platform/npc.mk
|
|
COMMON_CFLAGS += -march=rv32e_zicsr -mabi=ilp32e # overwrite
|
|
LDFLAGS += -melf32lriscv # overwrite
|
|
|
|
AM_SRCS += riscv/npc/libgcc/div.S \
|
|
riscv/npc/libgcc/muldi3.S \
|
|
riscv/npc/libgcc/multi3.c \
|
|
riscv/npc/libgcc/ashldi3.c \
|
|
riscv/npc/libgcc/unused.c
|