rv32im: set compressed instruction enabled as default.

Signed-off-by: zhongan <zhongan@xiaomi.com>
This commit is contained in:
zhongan 2020-11-17 14:12:52 +08:00 committed by Xiang Xiao
parent 9eae6edfde
commit a396b191d4
1 changed files with 2 additions and 2 deletions

View File

@ -77,9 +77,9 @@ endif
ifeq ($(CONFIG_RISCV_TOOLCHAIN),GNU_RVG)
CROSSDEV ?= riscv64-unknown-elf-
ifeq ($(CONFIG_ARCH_FPU),y)
ARCHCPUFLAGS = -march=rv32imf -mabi=ilp32f
ARCHCPUFLAGS = -march=rv32imfc -mabi=ilp32f
else
ARCHCPUFLAGS = -march=rv32im -mabi=ilp32
ARCHCPUFLAGS = -march=rv32imc -mabi=ilp32
endif
ifeq ($(CONFIG_RV32IM_HW_MULDIV),y)
ARCHCPUFLAGS += -mdiv