- libam-riscv32-nemu is working. - libam on platforms other than riscv32-nemu has not been worked on yet. - klib has not been worked on yet.
7 lines
306 B
Makefile
7 lines
306 B
Makefile
CROSS_COMPILE := riscv64-linux-gnu-
|
|
AM_CFLAGS += -static -fno-pic -march=rv64g -mcmodel=medany -mstrict-align
|
|
AM_ASFLAGS += -static -fno-pic -march=rv32g_zicsr -mcmodel=medany -O0
|
|
AM_LDFLAGS += -melf64lriscv -O2
|
|
|
|
# overwrite ARCH_H defined in $(AM_HOME)/Makefile
|
|
ARCH_H := arch/riscv.h
|