mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2025-01-18 10:46:26 +00:00
binutils/binutils: add binutils 2.22
Enable (EXPERIMENTAL) selection of binutils 2.22 Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
This commit is contained in:
parent
919775e88b
commit
697c55b797
@ -8,6 +8,12 @@ choice
|
|||||||
# Don't remove next line
|
# Don't remove next line
|
||||||
# CT_INSERT_VERSION_BELOW
|
# 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
|
config BINUTILS_V_2_21_53
|
||||||
bool
|
bool
|
||||||
prompt "2.21.53 (EXPERIMENTAL)"
|
prompt "2.21.53 (EXPERIMENTAL)"
|
||||||
@ -50,6 +56,7 @@ config BINUTILS_VERSION
|
|||||||
string
|
string
|
||||||
# Don't remove next line
|
# Don't remove next line
|
||||||
# CT_INSERT_VERSION_STRING_BELOW
|
# 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.53" if BINUTILS_V_2_21_53
|
||||||
default "2.21.1a" if BINUTILS_V_2_21_1a
|
default "2.21.1a" if BINUTILS_V_2_21_1a
|
||||||
default "2.20.1a" if BINUTILS_V_2_20_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.17a" if BINUTILS_V_2_17a
|
||||||
default "2.16.1a" if BINUTILS_V_2_16_1a
|
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
|
config BINUTILS_2_21_or_later
|
||||||
bool
|
bool
|
||||||
select BINUTILS_2_20_or_later
|
select BINUTILS_2_20_or_later
|
||||||
|
@ -127,7 +127,9 @@ addToolVersion() {
|
|||||||
# Extract 'M'ajor and 'm'inor from version string
|
# Extract 'M'ajor and 'm'inor from version string
|
||||||
ver_M=$(getVersionField "${version}" . 1)
|
ver_M=$(getVersionField "${version}" . 1)
|
||||||
ver_m=$(getVersionField "${version}" . 2)
|
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"
|
SedExpr1="${SedExpr1}\n select BINUTILS_2_21_or_later"
|
||||||
elif [ \( ${ver_M} -eq 2 -a ${ver_m} -eq 20 \) ]; then
|
elif [ \( ${ver_M} -eq 2 -a ${ver_m} -eq 20 \) ]; then
|
||||||
SedExpr1="${SedExpr1}\n select BINUTILS_2_20_or_later"
|
SedExpr1="${SedExpr1}\n select BINUTILS_2_20_or_later"
|
||||||
|
Loading…
Reference in New Issue
Block a user