package/gcc: enable gcc 9.1 for ork1 (openrisc)

openrisc support has been added with gcc 9.1.
Keep for now the old gcc 5 fork for ork1.

https://gcc.gnu.org/gcc-9/changes.html

Tested using qemu_or1k_defconfig.

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Romain Naour 2019-06-20 12:07:25 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 0b630b5bf3
commit da70a55a19
2 changed files with 2 additions and 4 deletions

View File

@ -86,8 +86,6 @@ config BR2_GCC_VERSION_8_X
config BR2_GCC_VERSION_9_X
bool "gcc 9.x"
# Broken or unsupported architectures
depends on !BR2_or1k
# powerpc spe support has been deprecated since gcc 8.x.
# https://gcc.gnu.org/ml/gcc/2018-04/msg00102.html
depends on !BR2_powerpc_SPE

View File

@ -13,7 +13,7 @@ GCC_VERSION = $(call qstrip,$(BR2_GCC_VERSION))
ifeq ($(BR2_GCC_VERSION_ARC),y)
GCC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gcc,$(GCC_VERSION))
GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz
else ifeq ($(BR2_or1k),y)
else ifeq ($(BR2_GCC_VERSION_OR1K),y)
GCC_SITE = $(call github,openrisc,or1k-gcc,$(GCC_VERSION))
GCC_SOURCE = gcc-$(GCC_VERSION).tar.gz
else ifeq ($(BR2_csky),y)
@ -180,7 +180,7 @@ else
HOST_GCC_COMMON_CONF_OPTS += --without-isl --without-cloog
endif
ifeq ($(BR2_arc)$(BR2_or1k),y)
ifeq ($(BR2_arc)$(BR2_GCC_VERSION_OR1K),y)
HOST_GCC_COMMON_DEPENDENCIES += host-flex host-bison
endif