Ver Fonte

gcc: add 12.1

Waldemar Brodkorb há 2 anos atrás
pai
commit
4a73c1699a
2 ficheiros alterados com 13 adições e 0 exclusões
  1. 5 0
      target/config/Config.in.compiler
  2. 8 0
      toolchain/gcc/Makefile.inc

+ 5 - 0
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

+ 8 - 0
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