summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2023-07-26 15:06:12 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-07-26 15:06:12 +0200
commit106e1a01d119da8006d4dc5f68e5404424510585 (patch)
tree9f537f9cf8666d56f63cf6851de963ab07ae2c82
parentf31156b05fb809fd0badadaf15e0a07873284d39 (diff)
gcc: add gcc-13.1
-rw-r--r--target/config/Config.in.compiler5
-rw-r--r--toolchain/gcc/Makefile.inc8
2 files changed, 13 insertions, 0 deletions
diff --git a/target/config/Config.in.compiler b/target/config/Config.in.compiler
index a54079154..46668896a 100644
--- a/target/config/Config.in.compiler
+++ b/target/config/Config.in.compiler
@@ -28,6 +28,11 @@ config ADK_TOOLCHAIN_GCC_GIT
depends on !ADK_TARGET_ARCH_METAG
depends on !ADK_TARGET_ARCH_NDS32
+config ADK_TOOLCHAIN_GCC_13
+ bool "13.1.0"
+ depends on !ADK_TARGET_ARCH_AVR32
+ depends on !ADK_TARGET_ARCH_METAG
+
config ADK_TOOLCHAIN_GCC_12
bool "12.3.0"
depends on !ADK_TARGET_ARCH_AVR32
diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc
index 9a9032d97..8a0ecc21a 100644
--- a/toolchain/gcc/Makefile.inc
+++ b/toolchain/gcc/Makefile.inc
@@ -2,6 +2,14 @@
# material, please see the LICENCE file in the top-level directory.
PKG_NAME:= gcc
+ifeq ($(ADK_TOOLCHAIN_GCC_13),y)
+PKG_VERSION:= 13.1.0
+PKG_HASH:= 61d684f0aa5e76ac6585ad8898a2427aade8979ed5e7f85492286c4dfc13ee86
+PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
+PKG_RELEASE:= 1
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+LIBSTDCXXVER:= 29
+endif
ifeq ($(ADK_TOOLCHAIN_GCC_12),y)
PKG_VERSION:= 12.3.0
PKG_HASH:= 949a5d4f99e786421a93b532b22ffab5578de7321369975b91aec97adfda8c3b