diff options
author | Titus von Boxberg" <titus@v9g.de> | 2011-11-28 21:27:08 +0100 |
---|---|---|
committer | Titus von Boxberg <titus@v9g.de> | 2011-11-28 21:27:08 +0100 |
commit | 697c55b7977919dca64cfb031bdf0916699f62ea (patch) | |
tree | 3143b6e90e2d6550e7f4f68bb82a64d40b6a61ae | |
parent | 919775e88bf8221aae9b9bc729dabc8e036e2eec (diff) | |
download | crosstool-ng-697c55b7977919dca64cfb031bdf0916699f62ea.tar.gz crosstool-ng-697c55b7977919dca64cfb031bdf0916699f62ea.tar.bz2 crosstool-ng-697c55b7977919dca64cfb031bdf0916699f62ea.zip |
binutils/binutils: add binutils 2.22
Enable (EXPERIMENTAL) selection of binutils 2.22
Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
-rw-r--r-- | config/binutils/binutils.in | 13 | ||||
-rwxr-xr-x | scripts/addToolVersion.sh | 4 |
2 files changed, 16 insertions, 1 deletions
diff --git a/config/binutils/binutils.in b/config/binutils/binutils.in index 66257102..6f62d2d3 100644 --- a/config/binutils/binutils.in +++ b/config/binutils/binutils.in @@ -8,6 +8,12 @@ choice # Don't remove next line # CT_INSERT_VERSION_BELOW +config BINUTILS_V_2_22 + bool + prompt "2.22 (EXPERIMENTAL)" + depends on EXPERIMENTAL + select BINUTILS_2_22_or_later + config BINUTILS_V_2_21_53 bool prompt "2.21.53 (EXPERIMENTAL)" @@ -50,6 +56,7 @@ config BINUTILS_VERSION string # Don't remove next line # CT_INSERT_VERSION_STRING_BELOW + default "2.22" if BINUTILS_V_2_22 default "2.21.53" if BINUTILS_V_2_21_53 default "2.21.1a" if BINUTILS_V_2_21_1a default "2.20.1a" if BINUTILS_V_2_20_1a @@ -58,6 +65,12 @@ config BINUTILS_VERSION default "2.17a" if BINUTILS_V_2_17a default "2.16.1a" if BINUTILS_V_2_16_1a +config BINUTILS_2_22_or_later + bool + select BINUTILS_2_21_or_later + select BINUTILS_HAS_GOLD + select BINUTILS_HAS_PLUGINS + config BINUTILS_2_21_or_later bool select BINUTILS_2_20_or_later diff --git a/scripts/addToolVersion.sh b/scripts/addToolVersion.sh index 870497b3..c394d245 100755 --- a/scripts/addToolVersion.sh +++ b/scripts/addToolVersion.sh @@ -127,7 +127,9 @@ addToolVersion() { # Extract 'M'ajor and 'm'inor from version string ver_M=$(getVersionField "${version}" . 1) ver_m=$(getVersionField "${version}" . 2) - if [ \( ${ver_M} -eq 2 -a ${ver_m} -eq 21 \) ]; then + if [ \( ${ver_M} -eq 2 -a ${ver_m} -eq 22 \) ]; then + SedExpr1="${SedExpr1}\n select BINUTILS_2_22_or_later" + elif [ \( ${ver_M} -eq 2 -a ${ver_m} -eq 21 \) ]; then SedExpr1="${SedExpr1}\n select BINUTILS_2_21_or_later" elif [ \( ${ver_M} -eq 2 -a ${ver_m} -eq 20 \) ]; then SedExpr1="${SedExpr1}\n select BINUTILS_2_20_or_later" |