summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/binutils/binutils.in12
-rwxr-xr-xscripts/addToolVersion.sh2
2 files changed, 13 insertions, 1 deletions
diff --git a/config/binutils/binutils.in b/config/binutils/binutils.in
index d5d9f54..91b5e9f 100644
--- a/config/binutils/binutils.in
+++ b/config/binutils/binutils.in
@@ -6,7 +6,7 @@ config BINUTILS_CUSTOM
bool
prompt "Custom binutils"
depends on EXPERIMENTAL
- select BINUTILS_2_25_1_or_later
+ select BINUTILS_2_26_or_later
help
The choosen binutils version shall be not downloaded. Instead use
a custom location to get the source.
@@ -60,6 +60,11 @@ choice
# Don't remove next line
# CT_INSERT_VERSION_BELOW
+config BINUTILS_V_2_26
+ bool
+ prompt "2.26"
+ select BINUTILS_2_26_or_later
+
config BINUTILS_V_2_25_1
bool
prompt "2.25.1"
@@ -93,6 +98,7 @@ config BINUTILS_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
+ default "2.26" if BINUTILS_V_2_26
default "2.25.1" if BINUTILS_V_2_25_1
default "linaro-2.25.0-2015.01-2" if BINUTILS_LINARO_V_2_25
default "linaro-2.24.0-2014.11-2" if BINUTILS_LINARO_V_2_24
@@ -101,6 +107,10 @@ config BINUTILS_VERSION
endif # ! BINUTILS_CUSTOM
+config BINUTILS_2_26_or_later
+ bool
+ select BINUTILS_2_25_1_or_later
+
config BINUTILS_2_25_1_or_later
bool
select BINUTILS_2_25_or_later
diff --git a/scripts/addToolVersion.sh b/scripts/addToolVersion.sh
index b35ad0c..3cbf712 100755
--- a/scripts/addToolVersion.sh
+++ b/scripts/addToolVersion.sh
@@ -122,6 +122,8 @@ addToolVersion() {
ver_M=$(getVersionField "${version}" . 1)
ver_m=$(getVersionField "${version}" . 2)
ver_p=$(getVersionField "${version}" . 3)
+ if [ ${ver_M} -eq 2 -a ${ver_m} -eq 26 ]; then
+ SedExpr1="${SedExpr1}\n select BINUTILS_2_26_or_later"
if [ ${ver_M} -eq 2 -a ${ver_m} -eq 25 -a ${ver_p} -eq 1 ]; then
SedExpr1="${SedExpr1}\n select BINUTILS_2_25_1_or_later"
elif [ ${ver_M} -eq 2 -a ${ver_m} -eq 25 -a -z ${ver_p} ]; then