summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target/config/Config.in.compiler12
-rw-r--r--toolchain/gcc/Makefile.inc8
2 files changed, 20 insertions, 0 deletions
diff --git a/target/config/Config.in.compiler b/target/config/Config.in.compiler
index 889aa972b..2a690da69 100644
--- a/target/config/Config.in.compiler
+++ b/target/config/Config.in.compiler
@@ -37,6 +37,18 @@ config ADK_TOOLCHAIN_GCC_GIT
depends on !ADK_TARGET_ARCH_OR1K
select ADK_DISABLE_HONOUR_CFLAGS
+config ADK_TOOLCHAIN_GCC_7
+ bool "7.1.0"
+ depends on !ADK_TARGET_ARCH_ARC
+ depends on !ADK_TARGET_ARCH_AVR32
+ depends on !ADK_TARGET_ARCH_CRIS
+ depends on !ADK_TARGET_ARCH_METAG
+ depends on !ADK_TARGET_ARCH_NDS32
+ depends on !ADK_TARGET_ARCH_OR1K
+ depends on !ADK_TARGET_ARCH_RISCV32
+ depends on !ADK_TARGET_ARCH_RISCV64
+ select ADK_DISABLE_HONOUR_CFLAGS
+
config ADK_TOOLCHAIN_GCC_6
bool "6.3.0"
depends on !ADK_TARGET_ARCH_ARC
diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc
index 9756e91d6..d6c07d5f8 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_7),y)
+PKG_VERSION:= 7.1.0
+PKG_HASH:= 3c187ef42e4cf657eec0ed641aac7f7e46261bcb1cea31b72dcf2dedddbbdea5
+PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
+PKG_RELEASE:= 1
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
+LIBSTDCXXVER:= 23
+endif
ifeq ($(ADK_TOOLCHAIN_GCC_6),y)
PKG_VERSION:= 6.3.0
PKG_HASH:= 02f9302a559fa2251595ca0bc1e937219eff2995a3802d7b31676fec2402beb4