5 lines
197 B
Makefile
5 lines
197 B
Makefile
CROSS_COMPILE := riscv64-linux-gnu-
|
|
COMMON_FLAGS := -fno-pic -march=rv32im -mabi=ilp32
|
|
CFLAGS += $(COMMON_FLAGS) -static
|
|
ASFLAGS += $(COMMON_FLAGS) -O0
|
|
LDFLAGS += -melf32lriscv
|