Skip to content

Commit

Permalink
toolchain/gcc: Add GCC 10.1.0 config
Browse files Browse the repository at this point in the history
Add needed config changes and tarball hash for new GCC version.

Signed-off-by: Syrone Wong <wong.syrone@gmail.com>
[added missing commit description]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
  • Loading branch information
wongsyrone authored and ynezz committed Jul 11, 2020
1 parent d0b2530 commit bf540f3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions toolchain/gcc/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions toolchain/gcc/Config.version
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions toolchain/gcc/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit bf540f3

Please sign in to comment.