Skip to content

Commit 416e7bb

Browse files
alistair23alevy
authored andcommitted
Configuration.mk: Support the latest newlib, libc++ and GCC
Signed-off-by: Alistair Francis <[email protected]>
1 parent 4204299 commit 416e7bb

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

Configuration.mk

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,10 @@ else ifeq ($(CC_rv32_version_major),12)
256256
NEWLIB_VERSION_rv32 := 4.3.0.20230120
257257
else ifeq ($(CC_rv32_version_major),13)
258258
NEWLIB_VERSION_rv32 := 4.3.0.20230120
259+
else ifeq ($(CC_rv32_version_major),14)
260+
NEWLIB_VERSION_rv32 := 4.4.0.20231231
259261
else
260-
NEWLIB_VERSION_rv32 := 4.3.0.20230120
262+
NEWLIB_VERSION_rv32 := 4.4.0.20231231
261263
endif
262264
NEWLIB_VERSION_rv32i := $(NEWLIB_VERSION_rv32)
263265
NEWLIB_VERSION_rv32imc := $(NEWLIB_VERSION_rv32)
@@ -273,8 +275,10 @@ else ifeq ($(CC_rv32_version_major),12)
273275
LIBCPP_VERSION_rv32 := 12.3.0
274276
else ifeq ($(CC_rv32_version_major),13)
275277
LIBCPP_VERSION_rv32 := 13.2.0
278+
else ifeq ($(CC_rv32_version_major),14)
279+
LIBCPP_VERSION_rv32 := 14.1.0
276280
else
277-
LIBCPP_VERSION_rv32 := 13.2.0
281+
LIBCPP_VERSION_rv32 := 14.1.0
278282
endif
279283
LIBCPP_VERSION_rv32i := $(LIBCPP_VERSION_rv32)
280284
LIBCPP_VERSION_rv32imc := $(LIBCPP_VERSION_rv32)
@@ -396,8 +400,10 @@ else ifeq ($(CC_cortex-m_version_major),12)
396400
NEWLIB_VERSION_cortex-m := 4.3.0.20230120
397401
else ifeq ($(CC_cortex-m_version_major),13)
398402
NEWLIB_VERSION_cortex-m := 4.3.0.20230120
403+
else ifeq ($(CC_cortex-m_version_major),14)
404+
NEWLIB_VERSION_cortex-m := 4.4.0.20231231
399405
else
400-
NEWLIB_VERSION_cortex-m := 4.3.0.20230120
406+
NEWLIB_VERSION_cortex-m := 4.4.0.20231231
401407
endif
402408
NEWLIB_VERSION_cortex-m0 := $(NEWLIB_VERSION_cortex-m)
403409
NEWLIB_VERSION_cortex-m3 := $(NEWLIB_VERSION_cortex-m)
@@ -414,8 +420,10 @@ else ifeq ($(CC_cortex-m_version_major),12)
414420
LIBCPP_VERSION_cortex-m := 12.3.0
415421
else ifeq ($(CC_cortex-m_version_major),13)
416422
LIBCPP_VERSION_cortex-m := 13.2.0
423+
else ifeq ($(CC_cortex-m_version_major),14)
424+
LIBCPP_VERSION_cortex-m := 14.1.0
417425
else
418-
LIBCPP_VERSION_cortex-m := 13.2.0
426+
LIBCPP_VERSION_cortex-m := 14.1.0
419427
endif
420428
LIBCPP_VERSION_cortex-m0 := $(LIBCPP_VERSION_cortex-m)
421429
LIBCPP_VERSION_cortex-m3 := $(LIBCPP_VERSION_cortex-m)

0 commit comments

Comments
 (0)