binutils: rename config option
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 28 Jul 2015 13:48:21 +0000 (10:48 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 28 Jul 2015 20:44:29 +0000 (22:44 +0200)
Rename the binutils configuration option to match that one used by gcc
where the patchlevel is explicitly left out.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Config.in.legacy
package/binutils/Config.in.host
package/gcc/Config.in.host

index 4afeb834813d3eccdbcb8b2c58ba297d7d817aea..08caa8b62b567aa28a574359e00609c51633f0de 100644 (file)
@@ -107,6 +107,33 @@ endif
 ###############################################################################
 comment "Legacy options removed in 2015.08"
 
+config BR2_BINUTILS_VERSION_2_23_2
+       bool "binutils 2.23 option renamed"
+       select BR2_LEGACY
+       select BR2_BINUTILS_VERSION_2_23_X
+       help
+         The binutils version option has been renamed to match the
+         same patchlevel logic used by gcc. The new option is now
+         BR2_BINUTILS_VERSION_2_23_X.
+
+config BR2_BINUTILS_VERSION_2_24
+       bool "binutils 2.24 option renamed"
+       select BR2_LEGACY
+       select BR2_BINUTILS_VERSION_2_24_X
+       help
+         The binutils version option has been renamed to match the
+         same patchlevel logic used by gcc. The new option is now
+         BR2_BINUTILS_VERSION_2_24_X.
+
+config BR2_BINUTILS_VERSION_2_25
+       bool "binutils 2.25 option renamed"
+       select BR2_LEGACY
+       select BR2_BINUTILS_VERSION_2_25_X
+       help
+         The binutils version option has been renamed to match the
+         same patchlevel logic used by gcc. The new option is now
+         BR2_BINUTILS_VERSION_2_25_X.
+
 config BR2_PACKAGE_PERF
        bool "perf option has been renamed"
        select BR2_LEGACY
index 70253cc9b68b0c4b3611d746fa5d4ababececb54..6e7acabd0fcfec2b06c508cdc6ce862a5ccc5994 100644 (file)
@@ -3,21 +3,21 @@ comment "Binutils Options"
 choice
        prompt "Binutils Version"
        depends on !BR2_arc
-       default BR2_BINUTILS_VERSION_2_24
+       default BR2_BINUTILS_VERSION_2_24_X
        help
          Select the version of binutils you wish to use.
 
-       config BR2_BINUTILS_VERSION_2_23_2
+       config BR2_BINUTILS_VERSION_2_23_X
                depends on !BR2_aarch64 && !BR2_microblaze && \
                           !BR2_powerpc64le && !BR2_nios2
                bool "binutils 2.23.2"
 
-       config BR2_BINUTILS_VERSION_2_24
+       config BR2_BINUTILS_VERSION_2_24_X
                # supported, but broken on Nios-II and powerpc64le
                depends on !BR2_nios2 && !BR2_powerpc64le
                bool "binutils 2.24"
 
-       config BR2_BINUTILS_VERSION_2_25
+       config BR2_BINUTILS_VERSION_2_25_X
                bool "binutils 2.25"
 
 endchoice
@@ -25,9 +25,9 @@ endchoice
 config BR2_BINUTILS_VERSION
        string
        default "arc-2015.06"   if BR2_arc
-       default "2.23.2"        if BR2_BINUTILS_VERSION_2_23_2
-       default "2.24"          if BR2_BINUTILS_VERSION_2_24
-       default "2.25"          if BR2_BINUTILS_VERSION_2_25
+       default "2.23.2"        if BR2_BINUTILS_VERSION_2_23_X
+       default "2.24"          if BR2_BINUTILS_VERSION_2_24_X
+       default "2.25"          if BR2_BINUTILS_VERSION_2_25_X
 
 config BR2_BINUTILS_ENABLE_LTO
        bool
index 3d64b6f6784cb8dcbd9ed8141d803cc473e4550c..93c903261d8303a56b1e4a7a264499c2ea2aa2a8 100644 (file)
@@ -61,7 +61,7 @@ choice
                # Broken or unsupported PPC cores
                depends on !BR2_powerpc_power8
                # gcc-4.8.x + binutils-2.25 is broken for MIPS
-               depends on !((BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) && BR2_BINUTILS_VERSION_2_25)
+               depends on !((BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el) && BR2_BINUTILS_VERSION_2_25_X)
                select BR2_GCC_NEEDS_MPC
                select BR2_GCC_SUPPORTS_GRAPHITE