2020-03-29 15:19:14 +00:00
|
|
|
RISCV_ARCH := rv32im
|
2019-12-04 00:47:19 +00:00
|
|
|
RISCV_ABI := ilp32
|
2020-04-18 13:27:26 +00:00
|
|
|
RISCV_MCMODEL := medlow
|
2019-12-04 00:47:19 +00:00
|
|
|
|
|
|
|
|
2020-04-11 11:03:49 +00:00
|
|
|
TARGET = simple
|
|
|
|
|
|
|
|
|
|
|
|
CFLAGS += -DSIMULATION
|
2021-05-21 09:05:56 +00:00
|
|
|
CFLAGS += -g
|
2020-04-11 11:03:49 +00:00
|
|
|
#CFLAGS += -O2
|
|
|
|
#ASM_SRCS +=
|
|
|
|
#LDFLAGS +=
|
|
|
|
#INCLUDES += -I.
|
2019-12-04 00:47:19 +00:00
|
|
|
|
2020-04-11 11:03:49 +00:00
|
|
|
C_SRCS := \
|
|
|
|
main.c \
|
2019-12-04 00:47:19 +00:00
|
|
|
|
|
|
|
|
2021-03-29 10:22:52 +00:00
|
|
|
BSP_DIR = ../../bsp
|
|
|
|
include ../../bsp/bsp.mk
|