From 697c55b7977919dca64cfb031bdf0916699f62ea Mon Sep 17 00:00:00 2001 From: "Titus von Boxberg\"" Date: Mon, 28 Nov 2011 21:27:08 +0100 Subject: binutils/binutils: add binutils 2.22 Enable (EXPERIMENTAL) selection of binutils 2.22 Signed-off-by: "Titus von Boxberg" diff --git a/config/binutils/binutils.in b/config/binutils/binutils.in index 6625710..6f62d2d 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 870497b..c394d24 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" -- cgit v0.10.2-6-g49f6