select BR2_GCC_NEEDS_MPC
select BR2_GCC_SUPPORTS_GRAPHITE
- config BR2_GCC_VERSION_SNAP
- bool "gcc snapshot"
- # Broken or unsupported architectures
- depends on !BR2_arc && !BR2_avr32
- # musl patches only for release gcc versions
- depends on !BR2_TOOLCHAIN_BUILDROOT_MUSL
- select BR2_GCC_NEEDS_MPC
- select BR2_GCC_SUPPORTS_GRAPHITE
endchoice
config BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE
bool
default y if !BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
-config BR2_GCC_SNAP_DATE
- string "GCC snapshot date"
- default "4.8-20120429"
- depends on BR2_GCC_VERSION_SNAP
- help
- Enter snapshot date to use for gcc.
- Format is: A.B-YYYYMMDD
-
- A is GCC major version, for example 4.
- B is GCC minor version, for example 7.
- YYYYMMDD is snapshot date, for example 20110430.
-
- This way we'd get version 4.7-20110430
-
config BR2_GCC_VERSION
string
default "4.2.2-avr32-2.1.5" if BR2_GCC_VERSION_4_2_2_AVR32_2_1_5
default "4.8.3" if BR2_GCC_VERSION_4_8_X
default "4.9.1" if BR2_GCC_VERSION_4_9_X
default "arc-2014.08" if BR2_GCC_VERSION_4_8_ARC
- default BR2_GCC_SNAP_DATE if BR2_GCC_VERSION_SNAP
config BR2_EXTRA_GCC_CONFIG_OPTIONS
string "Additional gcc options"
GCC_VERSION = $(call qstrip,$(BR2_GCC_VERSION))
-ifeq ($(BR2_GCC_VERSION_SNAP),y)
-GCC_SNAP_DATE = $(call qstrip,$(BR2_GCC_SNAP_DATE))
-endif
-
-ifneq ($(GCC_SNAP_DATE),)
-GCC_SITE = ftp://gcc.gnu.org/pub/gcc/snapshots/$(GCC_SNAP_DATE)
-else ifeq ($(findstring avr32,$(GCC_VERSION)),avr32)
+ifeq ($(findstring avr32,$(GCC_VERSION)),avr32)
GCC_SITE = ftp://www.at91.com/pub/buildroot
else ifeq ($(BR2_arc),y)
GCC_SITE = $(call github,foss-for-synopsys-dwc-arc-processors,gcc,$(GCC_VERSION))
HOST_GCC_COMMON_CONF_OPTS += --without-isl --without-cloog
endif
-ifneq ($(BR2_arc)$(BR2_GCC_VERSION_SNAP),)
+ifeq ($(BR2_arc),y)
HOST_GCC_COMMON_DEPENDENCIES += host-flex host-bison
endif