Skip to content

Commit

Permalink
Configuration.mk: Support the latest newlib, libc++ and GCC
Browse files Browse the repository at this point in the history
Signed-off-by: Alistair Francis <[email protected]>
  • Loading branch information
alistair23 committed Jun 17, 2024
1 parent 2a1aa0f commit 750940b
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions Configuration.mk
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,10 @@ else ifeq ($(CC_rv32_version_major),12)
NEWLIB_VERSION_rv32 := 4.3.0.20230120
else ifeq ($(CC_rv32_version_major),13)
NEWLIB_VERSION_rv32 := 4.3.0.20230120
else ifeq ($(CC_rv32_version_major),14)
NEWLIB_VERSION_rv32 := 4.4.0.20231231
else
NEWLIB_VERSION_rv32 := 4.3.0.20230120
NEWLIB_VERSION_rv32 := 4.4.0.20231231
endif
NEWLIB_VERSION_rv32i := $(NEWLIB_VERSION_rv32)
NEWLIB_VERSION_rv32imc := $(NEWLIB_VERSION_rv32)
Expand All @@ -270,8 +272,10 @@ else ifeq ($(CC_rv32_version_major),12)
LIBCPP_VERSION_rv32 := 12.3.0
else ifeq ($(CC_rv32_version_major),13)
LIBCPP_VERSION_rv32 := 13.2.0
else ifeq ($(CC_rv32_version_major),14)
LIBCPP_VERSION_rv32 := 14.1.0
else
LIBCPP_VERSION_rv32 := 13.2.0
LIBCPP_VERSION_rv32 := 14.1.0
endif
LIBCPP_VERSION_rv32i := $(LIBCPP_VERSION_rv32)
LIBCPP_VERSION_rv32imc := $(LIBCPP_VERSION_rv32)
Expand Down Expand Up @@ -393,8 +397,10 @@ else ifeq ($(CC_cortex-m_version_major),12)
NEWLIB_VERSION_cortex-m := 4.3.0.20230120
else ifeq ($(CC_cortex-m_version_major),13)
NEWLIB_VERSION_cortex-m := 4.3.0.20230120
else ifeq ($(CC_cortex-m_version_major),13)
NEWLIB_VERSION_cortex-m := 4.4.0.20231231
else
NEWLIB_VERSION_cortex-m := 4.3.0.20230120
NEWLIB_VERSION_cortex-m := 4.4.0.20231231
endif
NEWLIB_VERSION_cortex-m0 := $(NEWLIB_VERSION_cortex-m)
NEWLIB_VERSION_cortex-m3 := $(NEWLIB_VERSION_cortex-m)
Expand All @@ -411,8 +417,10 @@ else ifeq ($(CC_cortex-m_version_major),12)
LIBCPP_VERSION_cortex-m := 12.3.0
else ifeq ($(CC_cortex-m_version_major),13)
LIBCPP_VERSION_cortex-m := 13.2.0
else ifeq ($(CC_cortex-m_version_major),14)
LIBCPP_VERSION_cortex-m := 14.1.0
else
LIBCPP_VERSION_cortex-m := 13.2.0
LIBCPP_VERSION_cortex-m := 14.1.0
endif
LIBCPP_VERSION_cortex-m0 := $(LIBCPP_VERSION_cortex-m)
LIBCPP_VERSION_cortex-m3 := $(LIBCPP_VERSION_cortex-m)
Expand Down

0 comments on commit 750940b

Please sign in to comment.