mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
Risc-v: Fix the not supported options in the latest 'RISCV_TOOLCHAIN' in rv32im's Toolchain.defs.
This commit is contained in:
@@ -80,9 +80,9 @@ ifeq ($(CONFIG_RISCV_TOOLCHAIN),GNU_RVGL)
|
||||
CROSSDEV ?= riscv64-unknown-elf-
|
||||
ARCROSSDEV ?= riscv64-unknown-elf-
|
||||
ifeq ($(CONFIG_RV32IM_HW_MULDIV),y)
|
||||
ARCHCPUFLAGS = -march=RV32IMXcustom -m32
|
||||
ARCHCPUFLAGS = -march=rv32im -mabi=ilp32f -mdiv
|
||||
else
|
||||
ARCHCPUFLAGS = -march=RV32IXcustom -m32
|
||||
ARCHCPUFLAGS = -march=rv32im -mabi=ilp32f -mno-div
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -93,9 +93,9 @@ ifeq ($(CONFIG_RISCV_TOOLCHAIN),GNU_RVGW)
|
||||
WINTOOL = y
|
||||
endif
|
||||
ifeq ($(CONFIG_RV32IM_HW_MULDIV),y)
|
||||
ARCHCPUFLAGS = -march=RV32IMXcustom -m32
|
||||
ARCHCPUFLAGS = -march=rv32im -mabi=ilp32f -mdiv
|
||||
else
|
||||
ARCHCPUFLAGS = -march=RV32IXcustom -m32
|
||||
ARCHCPUFLAGS = -march=rv32im -mabi=ilp32f -mno-div
|
||||
endif
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user