abstract-machine/scripts/riscv32e-ysyxsoc.mk

10 lines
423 B
Makefile

include $(AM_HOME)/scripts/isa/riscv.mk
include $(AM_HOME)/scripts/platform/ysyxsoc.mk
COMMON_CFLAGS += -march=rv32e_zicsr -mabi=ilp32e # overwrite
LDFLAGS += -melf32lriscv # overwrite
AM_SRCS += riscv/ysyxsoc/libgcc/div.S \
riscv/ysyxsoc/libgcc/muldi3.S \
riscv/ysyxsoc/libgcc/multi3.c \
riscv/ysyxsoc/libgcc/ashldi3.c \
riscv/ysyxsoc/libgcc/unused.c