From 4a73c1699a8e1af437393f59954f4805ebf36727 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 3 Aug 2022 09:41:08 +0200 Subject: gcc: add 12.1 --- target/config/Config.in.compiler | 5 +++++ toolchain/gcc/Makefile.inc | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/target/config/Config.in.compiler b/target/config/Config.in.compiler index 0bd830188..fa08eae29 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_12 + bool "12.1.0" + depends on !ADK_TARGET_ARCH_AVR32 + depends on !ADK_TARGET_ARCH_METAG + config ADK_TOOLCHAIN_GCC_11 bool "11.3.0" depends on !ADK_TARGET_ARCH_AVR32 diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc index 71c710d93..bc273f039 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_12),y) +PKG_VERSION:= 12.1.0 +PKG_HASH:= 62fd634889f31c02b64af2c468f064b47ad1ca78411c45abe6ac4b5f8dd19c7b +PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/} +PKG_RELEASE:= 1 +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.xz +LIBSTDCXXVER:= 28 +endif ifeq ($(ADK_TOOLCHAIN_GCC_11),y) PKG_VERSION:= 11.3.0 PKG_HASH:= b47cf2818691f5b1e21df2bb38c795fac2cfbd640ede2d0a5e1c89e338a3ac39 -- cgit v1.2.3