[openwrt/openwrt] toolchain/gcc: Add GCC 10.1.0 config

LEDE Commits lede-commits at lists.infradead.org
Sat Jul 11 09:54:30 EDT 2020


ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/bf540f333ce6426b353d1f025455c1dfc0d089f6

commit bf540f333ce6426b353d1f025455c1dfc0d089f6
Author: Syrone Wong <wong.syrone at gmail.com>
AuthorDate: Wed Jul 8 06:41:21 2020 +0800

    toolchain/gcc: Add GCC 10.1.0 config
    
    Add needed config changes and tarball hash for new GCC version.
    
    Signed-off-by: Syrone Wong <wong.syrone at gmail.com>
    [added missing commit description]
    Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 toolchain/gcc/Config.in      | 3 +++
 toolchain/gcc/Config.version | 5 +++++
 toolchain/gcc/common.mk      | 4 ++++
 3 files changed, 12 insertions(+)

diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index 4b2ba7aaae..1aadae6839 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -19,6 +19,9 @@ choice
 
 	config GCC_USE_VERSION_9
 		bool "gcc 9.x"
+
+	config GCC_USE_VERSION_10
+		bool "gcc 10.x"
 endchoice
 
 config GCC_USE_GRAPHITE
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index 6fbc6d9804..ccc7b273fa 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -10,11 +10,16 @@ config GCC_VERSION_9
 	default y if GCC_USE_VERSION_9
 	bool
 
+config GCC_VERSION_10
+	default y if GCC_USE_VERSION_10
+	bool
+
 config GCC_VERSION
 	string
 	default "5.5.0"		if GCC_VERSION_5
 	default "7.5.0"		if GCC_VERSION_7
 	default "9.3.0"		if GCC_VERSION_9
+	default "10.1.0"	if GCC_VERSION_10
 	default "8.4.0"
 
 config GCC_USE_IREMAP
diff --git a/toolchain/gcc/common.mk b/toolchain/gcc/common.mk
index ec3ea8fff1..eb0ddbf2d9 100644
--- a/toolchain/gcc/common.mk
+++ b/toolchain/gcc/common.mk
@@ -44,6 +44,10 @@ ifeq ($(PKG_VERSION),9.3.0)
   PKG_HASH:=71e197867611f6054aa1119b13a0c0abac12834765fe2d81f35ac57f84f742d1
 endif
 
+ifeq ($(PKG_VERSION),10.1.0)
+  PKG_HASH:=b6898a23844b656f1b68691c5c012036c2e694ac4b53a8918d4712ad876e7ea2
+endif
+
 PATCH_DIR=../patches/$(GCC_VERSION)
 
 BUGURL=http://bugs.openwrt.org/



More information about the lede-commits mailing list