Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/5] Add BR2_DEPRECATED_SINCE_2015_02
@ 2014-12-01 14:16 Gustavo Zacarias
  2014-12-01 14:16 ` [Buildroot] [PATCH 2/5] linux-headers: mark EOL versions deprecated Gustavo Zacarias
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Gustavo Zacarias @ 2014-12-01 14:16 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 Config.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Config.in b/Config.in
index 8d7081f..e2d3dfd 100644
--- a/Config.in
+++ b/Config.in
@@ -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
-- 
2.0.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 2/5] linux-headers: mark EOL versions deprecated
  2014-12-01 14:16 [Buildroot] [PATCH 1/5] Add BR2_DEPRECATED_SINCE_2015_02 Gustavo Zacarias
@ 2014-12-01 14:16 ` Gustavo Zacarias
  2014-12-01 14:16 ` [Buildroot] [PATCH 3/5] package/gcc/mpfr: remove deprecated features Gustavo Zacarias
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Gustavo Zacarias @ 2014-12-01 14:16 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/linux-headers/Config.in.host | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index d765e3a..7e48309 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -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
-- 
2.0.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 3/5] package/gcc/mpfr: remove deprecated features
  2014-12-01 14:16 [Buildroot] [PATCH 1/5] Add BR2_DEPRECATED_SINCE_2015_02 Gustavo Zacarias
  2014-12-01 14:16 ` [Buildroot] [PATCH 2/5] linux-headers: mark EOL versions deprecated Gustavo Zacarias
@ 2014-12-01 14:16 ` Gustavo Zacarias
  2014-12-01 14:16 ` [Buildroot] [PATCH 4/5] arch/mips: remove deprecated mips1/2/3/4 support Gustavo Zacarias
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: Gustavo Zacarias @ 2014-12-01 14:16 UTC (permalink / raw)
  To: buildroot

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

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/gcc/Config.in.host         | 19 -------------------
 package/gcc/gcc-final/gcc-final.mk | 10 ----------
 package/mpfr/Config.in             |  1 -
 3 files changed, 30 deletions(-)

diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
index a62e762..ff48af1 100644
--- a/package/gcc/Config.in.host
+++ b/package/gcc/Config.in.host
@@ -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
diff --git a/package/gcc/gcc-final/gcc-final.mk b/package/gcc/gcc-final/gcc-final.mk
index 9579b63..46ef5c6 100644
--- a/package/gcc/gcc-final/gcc-final.mk
+++ b/package/gcc/gcc-final/gcc-final.mk
@@ -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
diff --git a/package/mpfr/Config.in b/package/mpfr/Config.in
index 9acb0b4..e02511f 100644
--- a/package/mpfr/Config.in
+++ b/package/mpfr/Config.in
@@ -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
-- 
2.0.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 4/5] arch/mips: remove deprecated mips1/2/3/4 support
  2014-12-01 14:16 [Buildroot] [PATCH 1/5] Add BR2_DEPRECATED_SINCE_2015_02 Gustavo Zacarias
  2014-12-01 14:16 ` [Buildroot] [PATCH 2/5] linux-headers: mark EOL versions deprecated Gustavo Zacarias
  2014-12-01 14:16 ` [Buildroot] [PATCH 3/5] package/gcc/mpfr: remove deprecated features Gustavo Zacarias
@ 2014-12-01 14:16 ` Gustavo Zacarias
  2014-12-01 14:21   ` Vicente Olivert Riera
  2014-12-01 14:17 ` [Buildroot] [PATCH 5/5] Remove BR2_DEPRECATED_SINCE_2013_11 Gustavo Zacarias
  2014-12-01 19:07 ` [Buildroot] [PATCH 1/5] Add BR2_DEPRECATED_SINCE_2015_02 Peter Korsgaard
  4 siblings, 1 reply; 7+ messages in thread
From: Gustavo Zacarias @ 2014-12-01 14:16 UTC (permalink / raw)
  To: buildroot

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.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 arch/Config.in.mips       | 12 ------------
 package/fdk-aac/Config.in |  4 ----
 package/uclibc/Config.in  |  4 ----
 3 files changed, 20 deletions(-)

diff --git a/arch/Config.in.mips b/arch/Config.in.mips
index 18138de..7630503 100644
--- a/arch/Config.in.mips
+++ b/arch/Config.in.mips
@@ -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
diff --git a/package/fdk-aac/Config.in b/package/fdk-aac/Config.in
index 7922364..1ec59e1 100644
--- a/package/fdk-aac/Config.in
+++ b/package/fdk-aac/Config.in
@@ -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)
diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in
index 37f398a..290f19b 100644
--- a/package/uclibc/Config.in
+++ b/package/uclibc/Config.in
@@ -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
-- 
2.0.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 5/5] Remove BR2_DEPRECATED_SINCE_2013_11
  2014-12-01 14:16 [Buildroot] [PATCH 1/5] Add BR2_DEPRECATED_SINCE_2015_02 Gustavo Zacarias
                   ` (2 preceding siblings ...)
  2014-12-01 14:16 ` [Buildroot] [PATCH 4/5] arch/mips: remove deprecated mips1/2/3/4 support Gustavo Zacarias
@ 2014-12-01 14:17 ` Gustavo Zacarias
  2014-12-01 19:07 ` [Buildroot] [PATCH 1/5] Add BR2_DEPRECATED_SINCE_2015_02 Peter Korsgaard
  4 siblings, 0 replies; 7+ messages in thread
From: Gustavo Zacarias @ 2014-12-01 14:17 UTC (permalink / raw)
  To: buildroot

The symbol is unused so remove it.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 Config.in | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/Config.in b/Config.in
index e2d3dfd..1aa1080 100644
--- a/Config.in
+++ b/Config.in
@@ -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
-- 
2.0.4

^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 4/5] arch/mips: remove deprecated mips1/2/3/4 support
  2014-12-01 14:16 ` [Buildroot] [PATCH 4/5] arch/mips: remove deprecated mips1/2/3/4 support Gustavo Zacarias
@ 2014-12-01 14:21   ` Vicente Olivert Riera
  0 siblings, 0 replies; 7+ messages in thread
From: Vicente Olivert Riera @ 2014-12-01 14:21 UTC (permalink / raw)
  To: buildroot

Dear Gustavo Zacarias,

On 12/01/2014 02:16 PM, Gustavo Zacarias wrote:
> 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.
> 
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
>  arch/Config.in.mips       | 12 ------------
>  package/fdk-aac/Config.in |  4 ----
>  package/uclibc/Config.in  |  4 ----
>  3 files changed, 20 deletions(-)
> 
> diff --git a/arch/Config.in.mips b/arch/Config.in.mips
> index 18138de..7630503 100644
> --- a/arch/Config.in.mips
> +++ b/arch/Config.in.mips
> @@ -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
> diff --git a/package/fdk-aac/Config.in b/package/fdk-aac/Config.in
> index 7922364..1ec59e1 100644
> --- a/package/fdk-aac/Config.in
> +++ b/package/fdk-aac/Config.in
> @@ -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)
> diff --git a/package/uclibc/Config.in b/package/uclibc/Config.in
> index 37f398a..290f19b 100644
> --- a/package/uclibc/Config.in
> +++ b/package/uclibc/Config.in
> @@ -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
> 

Acked-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>

Best regards,
-- 
Vicente Olivert Riera
Graduate Software Engineer, MIPS Platforms
Imagination Technologies Limited
t: +44 (0)113 2429814
www.imgtec.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] [PATCH 1/5] Add BR2_DEPRECATED_SINCE_2015_02
  2014-12-01 14:16 [Buildroot] [PATCH 1/5] Add BR2_DEPRECATED_SINCE_2015_02 Gustavo Zacarias
                   ` (3 preceding siblings ...)
  2014-12-01 14:17 ` [Buildroot] [PATCH 5/5] Remove BR2_DEPRECATED_SINCE_2013_11 Gustavo Zacarias
@ 2014-12-01 19:07 ` Peter Korsgaard
  4 siblings, 0 replies; 7+ messages in thread
From: Peter Korsgaard @ 2014-12-01 19:07 UTC (permalink / raw)
  To: buildroot

>>>>> "Gustavo" == Gustavo Zacarias <gustavo@zacarias.com.ar> writes:

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

 > Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>

Committed all 5, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-12-01 19:07 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-01 14:16 [Buildroot] [PATCH 1/5] Add BR2_DEPRECATED_SINCE_2015_02 Gustavo Zacarias
2014-12-01 14:16 ` [Buildroot] [PATCH 2/5] linux-headers: mark EOL versions deprecated Gustavo Zacarias
2014-12-01 14:16 ` [Buildroot] [PATCH 3/5] package/gcc/mpfr: remove deprecated features Gustavo Zacarias
2014-12-01 14:16 ` [Buildroot] [PATCH 4/5] arch/mips: remove deprecated mips1/2/3/4 support Gustavo Zacarias
2014-12-01 14:21   ` Vicente Olivert Riera
2014-12-01 14:17 ` [Buildroot] [PATCH 5/5] Remove BR2_DEPRECATED_SINCE_2013_11 Gustavo Zacarias
2014-12-01 19:07 ` [Buildroot] [PATCH 1/5] Add BR2_DEPRECATED_SINCE_2015_02 Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox