mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 12:08:36 +08:00
rv32im: set compressed instruction enabled as default.
Signed-off-by: zhongan <zhongan@xiaomi.com>
This commit is contained in:
parent
9eae6edfde
commit
a396b191d4
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue