binutils/binutils: add binutils 2.22
authorTitus von Boxberg <titus@v9g.de>
Mon Nov 28 21:27:08 2011 +0100 (2011-11-28)
changeset 2797ce8ada0b1d41
parent 2796 bdff4164a122
child 2798 4d92888ec7cb
binutils/binutils: add binutils 2.22

Enable (EXPERIMENTAL) selection of binutils 2.22

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
config/binutils/binutils.in
scripts/addToolVersion.sh
     1.1 --- a/config/binutils/binutils.in	Wed Dec 07 16:15:50 2011 +0800
     1.2 +++ b/config/binutils/binutils.in	Mon Nov 28 21:27:08 2011 +0100
     1.3 @@ -8,6 +8,12 @@
     1.4  # Don't remove next line
     1.5  # CT_INSERT_VERSION_BELOW
     1.6  
     1.7 +config BINUTILS_V_2_22
     1.8 +    bool
     1.9 +    prompt "2.22 (EXPERIMENTAL)"
    1.10 +    depends on EXPERIMENTAL
    1.11 +    select BINUTILS_2_22_or_later
    1.12 +
    1.13  config BINUTILS_V_2_21_53
    1.14      bool
    1.15      prompt "2.21.53 (EXPERIMENTAL)"
    1.16 @@ -50,6 +56,7 @@
    1.17      string
    1.18  # Don't remove next line
    1.19  # CT_INSERT_VERSION_STRING_BELOW
    1.20 +    default "2.22" if BINUTILS_V_2_22
    1.21      default "2.21.53" if BINUTILS_V_2_21_53
    1.22      default "2.21.1a" if BINUTILS_V_2_21_1a
    1.23      default "2.20.1a" if BINUTILS_V_2_20_1a
    1.24 @@ -58,6 +65,12 @@
    1.25      default "2.17a" if BINUTILS_V_2_17a
    1.26      default "2.16.1a" if BINUTILS_V_2_16_1a
    1.27  
    1.28 +config BINUTILS_2_22_or_later
    1.29 +    bool
    1.30 +    select BINUTILS_2_21_or_later
    1.31 +    select BINUTILS_HAS_GOLD
    1.32 +    select BINUTILS_HAS_PLUGINS
    1.33 +
    1.34  config BINUTILS_2_21_or_later
    1.35      bool
    1.36      select BINUTILS_2_20_or_later
     2.1 --- a/scripts/addToolVersion.sh	Wed Dec 07 16:15:50 2011 +0800
     2.2 +++ b/scripts/addToolVersion.sh	Mon Nov 28 21:27:08 2011 +0100
     2.3 @@ -127,7 +127,9 @@
     2.4              # Extract 'M'ajor and 'm'inor from version string
     2.5              ver_M=$(getVersionField "${version}" . 1)
     2.6              ver_m=$(getVersionField "${version}" . 2)
     2.7 -            if [   \( ${ver_M} -eq 2 -a ${ver_m} -eq 21 \)  ]; then
     2.8 +            if [   \( ${ver_M} -eq 2 -a ${ver_m} -eq 22 \)  ]; then
     2.9 +                SedExpr1="${SedExpr1}\n    select BINUTILS_2_22_or_later"
    2.10 +            elif [ \( ${ver_M} -eq 2 -a ${ver_m} -eq 21 \)  ]; then
    2.11                  SedExpr1="${SedExpr1}\n    select BINUTILS_2_21_or_later"
    2.12              elif [ \( ${ver_M} -eq 2 -a ${ver_m} -eq 20 \)  ]; then
    2.13                  SedExpr1="${SedExpr1}\n    select BINUTILS_2_20_or_later"