Skip to contentSkip to conversation

gcc: mark 4.5.x as deprecated

PATCH New Gustavo Zacarias 2 participants 3 messages Mar 24, 2015 – Mar 25, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gcc: mark 4.5.x as deprecated

It was kept for the internal blackfin toolchain which has been removed since because of lack of maintenance and testing.

---
 package/gcc/Config.in.host | 1 +
 1 file changed, 1 insertion(+)
package/gcc/Config.in.host +1 -0
index 6d514af..cf96c73 100644
@@ -16,6 +16,7 @@ choice
 
 	config BR2_GCC_VERSION_4_5_X
 		bool "gcc 4.5.x"
+		depends on BR2_DEPRECATED_SINCE_2015_05
 		# Broken or unsupported architectures
 		depends on !BR2_microblaze && !BR2_aarch64 && !BR2_arc \
 			&& !BR2_powerpc64le && !BR2_nios2
Signature · 1 line
2.0.5
#1 lore raw

PATCH 2/2 gcc: remove stray bfin --with-cpu exclusion

We no longer support an internal bfin toolchain hence it's dead code.

---
 package/gcc/gcc.mk | 3 ---
 1 file changed, 3 deletions(-)
package/gcc/gcc.mk +0 -3
index b5d2ddb..24fd7b8 100644
@@ -186,8 +186,6 @@ endif
 ifneq ($(call qstrip,$(BR2_GCC_TARGET_ABI)),)
 HOST_GCC_COMMON_CONF_OPTS += --with-abi=$(BR2_GCC_TARGET_ABI)
 endif
-# GCC doesn't support --with-cpu for bfin
-ifeq ($(BR2_bfin),)
 ifneq ($(call qstrip,$(BR2_GCC_TARGET_CPU)),)
 ifneq ($(call qstrip,$(BR2_GCC_TARGET_CPU_REVISION)),)
 HOST_GCC_COMMON_CONF_OPTS += --with-cpu=$(call qstrip,$(BR2_GCC_TARGET_CPU)-$(BR2_GCC_TARGET_CPU_REVISION))
@@ -195,7 +193,6 @@ else
 HOST_GCC_COMMON_CONF_OPTS += --with-cpu=$(call qstrip,$(BR2_GCC_TARGET_CPU))
 endif
 endif
-endif
 
 GCC_TARGET_FPU = $(call qstrip,$(BR2_GCC_TARGET_FPU))
 ifneq ($(GCC_TARGET_FPU),)
Signature · 1 line
2.0.5
#2 lore raw

PATCH 1/2 gcc: mark 4.5.x as deprecated

In reply to Gustavo Zacarias

Dear Gustavo Zacarias,

Quoted 7 lines · Gustavo Zacarias

It was kept for the internal blackfin toolchain which has been removed since because of lack of maintenance and testing.

---
 package/gcc/Config.in.host | 1 +
 1 file changed, 1 insertion(+)

Both patches applied.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com