summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2020-08-05 23:12:34 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-08-05 23:13:28 +0200
commitc6d4fb2d1ab96623851d9d5a7aaf632ae4a015c9 (patch)
tree0f36f14bbb186495841d8c43db52f79aaa6ff2f0
parent95b9c2fc264e4b07732667ddd65da8ece5aec59f (diff)
gcc: add gcc 10
-rw-r--r--target/config/Config.in.compiler6
-rw-r--r--toolchain/gcc/Makefile.inc8
2 files changed, 14 insertions, 0 deletions
diff --git a/target/config/Config.in.compiler b/target/config/Config.in.compiler
index 148fd2a39..7ddf83686 100644
--- a/target/config/Config.in.compiler
+++ b/target/config/Config.in.compiler
@@ -29,6 +29,12 @@ config ADK_TOOLCHAIN_GCC_GIT
depends on !ADK_TARGET_ARCH_METAG
depends on !ADK_TARGET_ARCH_NDS32
+config ADK_TOOLCHAIN_GCC_10
+ bool "10.2.0"
+ depends on !ADK_TARGET_ARCH_AVR32
+ depends on !ADK_TARGET_ARCH_METAG
+ depends on !ADK_TARGET_ARCH_NDS32
+
config ADK_TOOLCHAIN_GCC_9
bool "9.3.0"
depends on !ADK_TARGET_ARCH_AVR32
diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc
index f2008ba81..84bd536fc 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_10),y)
+PKG_VERSION:= 10.2.0
+PKG_HASH:= b8dd4368bb9c7f0b98188317ee0254dd8cc99d1e3a18d0ff146c855fe16c1d8c
+PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
+PKG_RELEASE:= 1
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz
+LIBSTDCXXVER:= 26
+endif
ifeq ($(ADK_TOOLCHAIN_GCC_9),y)
PKG_VERSION:= 9.3.0
PKG_HASH:= 71e197867611f6054aa1119b13a0c0abac12834765fe2d81f35ac57f84f742d1