toolchain/gcc: switch to 8

This commit is contained in:
CN_SZTL 2019-11-20 00:29:38 +08:00
parent fa74d858fd
commit b07edaf2e9
No known key found for this signature in database
GPG Key ID: 6850B6345C862176
3 changed files with 9 additions and 9 deletions

View File

@ -139,11 +139,11 @@ else
TOOLCHAIN_DIR_NAME:=toolchain-$(GNU_TARGET_NAME)
endif
ifeq ($(or $(CONFIG_EXTERNAL_TOOLCHAIN),$(CONFIG_GCC_VERSION_4_8),$(CONFIG_TARGET_uml)),)
ifeq ($(CONFIG_GCC_USE_EMBEDDED_PATH_REMAP),y)
iremap = -fmacro-prefix-map=$(1)=$(2)
else
ifeq ($(or $(CONFIG_EXTERNAL_TOOLCHAIN),$(CONFIG_TARGET_uml)),)
ifeq ($(CONFIG_GCC_USE_IREMAP),y)
iremap = -iremap$(1):$(2)
else
iremap = -ffile-prefix-map=$(1)=$(2)
endif
endif

View File

@ -2,7 +2,7 @@
choice
prompt "GCC compiler Version" if TOOLCHAINOPTS
default GCC_USE_VERSION_7
default GCC_USE_VERSION_8
help
Select the version of gcc you wish to use.

View File

@ -2,8 +2,8 @@ config GCC_VERSION_5
default y if GCC_USE_VERSION_5
bool
config GCC_VERSION_8
default y if GCC_USE_VERSION_8
config GCC_VERSION_7
default y if GCC_USE_VERSION_7
bool
config GCC_VERSION_9
@ -13,9 +13,9 @@ config GCC_VERSION_9
config GCC_VERSION
string
default "5.5.0" if GCC_VERSION_5
default "8.3.0" if GCC_VERSION_8
default "7.5.0" if GCC_VERSION_7
default "9.2.0" if GCC_VERSION_9
default "7.5.0"
default "8.3.0"
config GCC_USE_IREMAP
bool