Skip to contentSkip to conversation

Add BR2_DEPRECATED_SINCE_2015_02

PATCH New Gustavo Zacarias 3 participants 7 messages Dec 1, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/5 Add BR2_DEPRECATED_SINCE_2015_02

In preparation for the deprecation of certain features in 2015.02, add the BR2_DEPRECATED_SINCE_2015_02 symbol.

---
 Config.in | 4 ++++
 1 file changed, 4 insertions(+)
Config.in +4 -0
index 8d7081f..e2d3dfd 100644
@@ -314,6 +314,10 @@ config BR2_DEPRECATED_SINCE_2014_08
 	bool
 	default y
 
+config BR2_DEPRECATED_SINCE_2015_02
+	bool
+	default y
+
 endif
 
 config BR2_ENABLE_DEBUG
Signature · 1 line
2.0.4
#1 lore raw

PATCH 2/5 linux-headers: mark EOL versions deprecated

Follow the upstream EOL cycle and mark 3.16 as deprecated for 2015.02.

---
 package/linux-headers/Config.in.host | 1 +
 1 file changed, 1 insertion(+)
package/linux-headers/Config.in.host +1 -0
index d765e3a..7e48309 100644
@@ -56,6 +56,7 @@ choice
 
 	config BR2_KERNEL_HEADERS_3_16
 		bool "Linux 3.16.x kernel headers"
+		depends on BR2_DEPRECATED_SINCE_2015_02
 		select BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_16
 
 	config BR2_KERNEL_HEADERS_3_17
Signature · 1 line
2.0.4
#2 lore raw

PATCH 3/5 package/gcc/mpfr: remove deprecated features

In reply to Gustavo Zacarias

Remove the fortran and objective C language support since these have been deprecated since more than a year ago.

---
 package/gcc/Config.in.host         | 19 -------------------
 package/gcc/gcc-final/gcc-final.mk | 10 ----------
 package/mpfr/Config.in             |  1 -
 3 files changed, 30 deletions(-)
package/gcc/Config.in.host +0 -19
index a62e762..ff48af1 100644
@@ -120,25 +120,6 @@ config BR2_TOOLCHAIN_BUILDROOT_CXX
 comment "C++ support broken in uClibc with locale enabled with gcc 4.2"
 	depends on BR2_GCC_VERSION_4_2_2_AVR32_2_1_5 && BR2_TOOLCHAIN_BUILDROOT_LOCALE
 
-config BR2_INSTALL_OBJC
-	bool "Enable Objective-C support"
-	depends on !BR2_avr32
-	depends on BR2_DEPRECATED_SINCE_2013_11
-	help
-	  Enable the support for the Objective-C language in the
-	  cross-compiler, and install the Objective-C runtime to the
-	  target.
-
-config BR2_INSTALL_FORTRAN
-	bool "Enable Fortran support"
-	depends on !BR2_avr32
-	depends on BR2_DEPRECATED_SINCE_2013_11
-	select BR2_PACKAGE_LIBMPFR
-	help
-	  Enable the support for the Fortran language in the
-	  cross-compiler, and install the Fortran runtime to the
-	  target.
-
 config BR2_GCC_ENABLE_TLS
 	bool "Enable compiler tls support" if BR2_TOOLCHAIN_BUILDROOT_UCLIBC
 	default y
package/gcc/gcc-final/gcc-final.mk +0 -10
index 9579b63..46ef5c6 100644
@@ -44,8 +44,6 @@ endef
 # Languages supported by the cross-compiler
 GCC_FINAL_CROSS_LANGUAGES-y = c
 GCC_FINAL_CROSS_LANGUAGES-$(BR2_INSTALL_LIBSTDCPP) += c++
-GCC_FINAL_CROSS_LANGUAGES-$(BR2_INSTALL_FORTRAN) += fortran
-GCC_FINAL_CROSS_LANGUAGES-$(BR2_INSTALL_OBJC)    += objc
 GCC_FINAL_CROSS_LANGUAGES = $(subst $(space),$(comma),$(GCC_FINAL_CROSS_LANGUAGES-y))
 
 HOST_GCC_FINAL_CONF_OPTS = \
@@ -131,14 +129,6 @@ ifeq ($(BR2_GCC_ENABLE_OPENMP),y)
 HOST_GCC_FINAL_USR_LIBS += libgomp
 endif
 
-ifeq ($(BR2_INSTALL_FORTRAN),y)
-HOST_GCC_FINAL_USR_LIBS += libgfortran
-endif
-
-ifeq ($(BR2_INSTALL_OBJC),y)
-HOST_GCC_FINAL_USR_LIBS += libobjc
-endif
-
 ifeq ($(BR2_GCC_ENABLE_LIBMUDFLAP),y)
 ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
 HOST_GCC_FINAL_USR_LIBS += libmudflapth
package/mpfr/Config.in +0 -1
index 9acb0b4..e02511f 100644
@@ -1,6 +1,5 @@
 config BR2_PACKAGE_MPFR
 	bool "mpfr"
-	default y if BR2_INSTALL_FORTRAN
 	select BR2_PACKAGE_GMP
 	help
 	  C library for multiple-precision floating-point computations
Signature · 1 line
2.0.4
#3 lore raw

PATCH 4/5 arch/mips: remove deprecated mips1/2/3/4 support

In reply to Gustavo Zacarias

Remove the support for generating mips1/2/3/4 code since it has been deprecated for more than a year now.
Also remove the unnecessary kludges in packages for it.

---
 arch/Config.in.mips       | 12 ------------
 package/fdk-aac/Config.in |  4 ----
 package/uclibc/Config.in  |  4 ----
 3 files changed, 20 deletions(-)
arch/Config.in.mips +0 -12
index 18138de..7630503 100644
@@ -9,18 +9,6 @@ choice
 	  64bit cabable: 3, 4, 64, 64r2
 	  non-64bit capable: 1, 2, 32, 32r2
 
-config BR2_mips_1
-	bool "mips I (generic)"
-	depends on !BR2_ARCH_IS_64 && BR2_DEPRECATED_SINCE_2013_11
-config BR2_mips_2
-	bool "mips II"
-	depends on !BR2_ARCH_IS_64 && BR2_DEPRECATED_SINCE_2013_11
-config BR2_mips_3
-	bool "mips III"
-	depends on BR2_DEPRECATED_SINCE_2013_11
-config BR2_mips_4
-	bool "mips IV"
-	depends on BR2_DEPRECATED_SINCE_2013_11
 config BR2_mips_32
 	bool "mips 32"
 	depends on !BR2_ARCH_IS_64
package/fdk-aac/Config.in +0 -4
index 7922364..1ec59e1 100644
@@ -5,9 +5,6 @@ config BR2_PACKAGE_FDK_AAC
 	depends on BR2_i386 || BR2_x86_64 || BR2_arm || BR2_armeb || \
 		   BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
 		   BR2_powerpc || BR2_sh || BR2_sh64
-	# fdk-aac uses the 'msub' instruction whis is available only in
-	# mips32 and mips64 ISAs
-	depends on !(BR2_mips_1 || BR2_mips_2 || BR2_mips_3 || BR2_mips_4)
 
 	help
 	  The Fraunhofer FDK AAC Codec Library for Android ("FDK AAC Codec")
@@ -21,4 +18,3 @@ comment "fdk-aac needs a toolchain w/ C++"
 	depends on BR2_i386 || BR2_x86_64 || BR2_arm || BR2_armeb || \
 		   BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
 		   BR2_powerpc || BR2_sh || BR2_sh64
-	depends on !(BR2_mips_1 || BR2_mips_2 || BR2_mips_3 || BR2_mips_4)
package/uclibc/Config.in +0 -4
index 37f398a..290f19b 100644
@@ -216,10 +216,6 @@ config BR2_UCLIBC_MIPS_ABI
 config BR2_UCLIBC_MIPS_ISA
 	string
 	depends on BR2_UCLIBC_TARGET_ARCH = "mips"
-	default 1 if BR2_mips_1
-	default 2 if BR2_mips_2
-	default 3 if BR2_mips_3
-	default 4 if BR2_mips_4
 	default MIPS32 if BR2_mips_32
 	default MIPS32R2 if BR2_mips_32r2
 	default MIPS64 if BR2_mips_64
Signature · 1 line
2.0.4
#4 lore raw

PATCH 4/5 arch/mips: remove deprecated mips1/2/3/4 support

Dear Gustavo Zacarias,

Quoted 59 lines · Gustavo Zacarias

Remove the support for generating mips1/2/3/4 code since it has been deprecated for more than a year now.
Also remove the unnecessary kludges in packages for it.

---
 arch/Config.in.mips       | 12 ------------
 package/fdk-aac/Config.in |  4 ----
 package/uclibc/Config.in  |  4 ----
 3 files changed, 20 deletions(-)
arch/Config.in.mips +0 -12
index 18138de..7630503 100644
@@ -9,18 +9,6 @@ choice
 	  64bit cabable: 3, 4, 64, 64r2
 	  non-64bit capable: 1, 2, 32, 32r2
 
-config BR2_mips_1
-	bool "mips I (generic)"
-	depends on !BR2_ARCH_IS_64 && BR2_DEPRECATED_SINCE_2013_11
-config BR2_mips_2
-	bool "mips II"
-	depends on !BR2_ARCH_IS_64 && BR2_DEPRECATED_SINCE_2013_11
-config BR2_mips_3
-	bool "mips III"
-	depends on BR2_DEPRECATED_SINCE_2013_11
-config BR2_mips_4
-	bool "mips IV"
-	depends on BR2_DEPRECATED_SINCE_2013_11
 config BR2_mips_32
 	bool "mips 32"
 	depends on !BR2_ARCH_IS_64
package/fdk-aac/Config.in +0 -4
index 7922364..1ec59e1 100644
@@ -5,9 +5,6 @@ config BR2_PACKAGE_FDK_AAC
 	depends on BR2_i386 || BR2_x86_64 || BR2_arm || BR2_armeb || \
 		   BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
 		   BR2_powerpc || BR2_sh || BR2_sh64
-	# fdk-aac uses the 'msub' instruction whis is available only in
-	# mips32 and mips64 ISAs
-	depends on !(BR2_mips_1 || BR2_mips_2 || BR2_mips_3 || BR2_mips_4)
 
 	help
 	  The Fraunhofer FDK AAC Codec Library for Android ("FDK AAC Codec")
@@ -21,4 +18,3 @@ comment "fdk-aac needs a toolchain w/ C++"
 	depends on BR2_i386 || BR2_x86_64 || BR2_arm || BR2_armeb || \
 		   BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el || \
 		   BR2_powerpc || BR2_sh || BR2_sh64
-	depends on !(BR2_mips_1 || BR2_mips_2 || BR2_mips_3 || BR2_mips_4)
package/uclibc/Config.in +0 -0
index 37f398a..290f19b 100644

package/uclibc/Config.in config BR2_UCLIBC_MIPS_ABI · line 221

Quoted 10 lines
package/uclibc/Config.in +0 -4
@@ -216,10 +216,6 @@ config BR2_UCLIBC_MIPS_ABI
 config BR2_UCLIBC_MIPS_ISA
 	string
 	depends on BR2_UCLIBC_TARGET_ARCH = "mips"
-	default 1 if BR2_mips_1
-	default 2 if BR2_mips_2
-	default 3 if BR2_mips_3
-	default 4 if BR2_mips_4
 	default MIPS32 if BR2_mips_32
 	default MIPS32R2 if BR2_mips_32r2
 	default MIPS64 if BR2_mips_64

Best regards,

Signature · 5 lines
Vicente Olivert Riera
Graduate Software Engineer, MIPS Platforms
Imagination Technologies Limited
t: +44 (0)113 2429814
www.imgtec.com
#5 lore raw

PATCH 5/5 Remove BR2_DEPRECATED_SINCE_2013_11

In reply to Gustavo Zacarias

The symbol is unused so remove it.

---
 Config.in | 4 ----
 1 file changed, 4 deletions(-)
Config.in +0 -4
index e2d3dfd..1aa1080 100644
@@ -298,10 +298,6 @@ config BR2_DEPRECATED
 
 if BR2_DEPRECATED
 
-config BR2_DEPRECATED_SINCE_2013_11
-	bool
-	default y
-
 config BR2_DEPRECATED_SINCE_2014_02
 	bool
 	default y
Signature · 1 line
2.0.4