summaryrefslogtreecommitdiff
path: root/config/binutils/binutils.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/binutils/binutils.in')
-rw-r--r--config/binutils/binutils.in132
1 files changed, 42 insertions, 90 deletions
diff --git a/config/binutils/binutils.in b/config/binutils/binutils.in
index fc57412..d5d9f54 100644
--- a/config/binutils/binutils.in
+++ b/config/binutils/binutils.in
@@ -2,6 +2,41 @@
comment "GNU binutils"
+config BINUTILS_CUSTOM
+ bool
+ prompt "Custom binutils"
+ depends on EXPERIMENTAL
+ select BINUTILS_2_25_1_or_later
+ help
+ The choosen binutils version shall be not downloaded. Instead use
+ a custom location to get the source.
+
+if BINUTILS_CUSTOM
+
+config BINUTILS_CUSTOM_LOCATION
+ string
+ prompt "Full path to custom binutils source"
+ help
+ Enter the path to the directory or tarball of your source for binutils.
+
+ If the path is a tarball, it should extract to: <name>-<version>/
+ where the name is this component, binutils, and the version is set
+ below in the custom version string.
+
+config BINUTILS_CUSTOM_VERSION
+ string
+ prompt "Binutils Custom Version number"
+ help
+ Enter the version number for your custom binutils.
+
+config BINUTILS_VERSION
+ string
+ default BINUTILS_CUSTOM_VERSION
+
+endif # BINUTILS_CUSTOM
+
+if ! BINUTILS_CUSTOM
+
config CC_BINUTILS_SHOW_LINARO
bool
prompt "Show Linaro versions"
@@ -36,11 +71,6 @@ config BINUTILS_LINARO_V_2_25
select BINUTILS_2_25_or_later
depends on CC_BINUTILS_SHOW_LINARO
-config BINUTILS_V_2_25
- bool
- prompt "2.25"
- select BINUTILS_2_25_or_later
-
config BINUTILS_LINARO_V_2_24
bool
prompt "linaro-2.24.0-2014.11-2"
@@ -55,79 +85,21 @@ config BINUTILS_V_2_24
config BINUTILS_V_2_23_2
bool
prompt "2.23.2"
- select BINUTILS_2_23_or_later
-
-config BINUTILS_V_2_23_1
- bool
- prompt "2.23.1"
- select BINUTILS_2_23_or_later
-
-config BINUTILS_V_2_22
- bool
- prompt "2.22"
- select BINUTILS_2_22_or_later
-
-config BINUTILS_V_2_21_53
- bool
- prompt "2.21.53"
- select BINUTILS_2_21_or_later
-
-config BINUTILS_V_2_21_1a
- bool
- prompt "2.21.1a"
- select BINUTILS_2_21_or_later
-
-config BINUTILS_V_2_20_1a
- bool
- prompt "2.20.1a"
- select BINUTILS_2_20_or_later
-
-config BINUTILS_V_2_19_1a
- bool
- prompt "2.19.1a"
- select BINUTILS_2_19_or_later
-
-config BINUTILS_V_2_18a
- bool
- prompt "2.18a"
- select BINUTILS_2_18_or_later
+ select BINUTILS_2_23_2_or_later
endchoice
-config BINUTILS_CUSTOM
- bool
- prompt "Custom binutils"
- depends on EXPERIMENTAL
-
-if BINUTILS_CUSTOM
-
-config BINUTILS_CUSTOM_LOCATION
- string
- prompt "Full path to custom binutils source"
- default ""
- help
- Enter the path to the directory (or tarball) of your source for binutils,
- or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/binutils
-
-endif # BINUTILS_CUSTOM
-
config BINUTILS_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
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 "2.25" if BINUTILS_V_2_25
default "linaro-2.24.0-2014.11-2" if BINUTILS_LINARO_V_2_24
default "2.24" if BINUTILS_V_2_24
default "2.23.2" if BINUTILS_V_2_23_2
- default "2.23.1" if BINUTILS_V_2_23_1
- 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
- default "2.19.1a" if BINUTILS_V_2_19_1a
- default "2.18a" if BINUTILS_V_2_18a
+
+endif # ! BINUTILS_CUSTOM
config BINUTILS_2_25_1_or_later
bool
@@ -139,34 +111,14 @@ config BINUTILS_2_25_or_later
config BINUTILS_2_24_or_later
bool
- select BINUTILS_2_23_or_later
-
-config BINUTILS_2_23_or_later
- bool
- select BINUTILS_2_22_or_later
+ select BINUTILS_2_23_2_or_later
-config BINUTILS_2_22_or_later
+config BINUTILS_2_23_2_or_later
bool
- select BINUTILS_2_21_or_later
-
-config BINUTILS_2_21_or_later
- bool
- select BINUTILS_2_20_or_later
select BINUTILS_HAS_GOLD
- select BINUTILS_HAS_PLUGINS
-
-config BINUTILS_2_20_or_later
- bool
- select BINUTILS_2_19_or_later
-
-config BINUTILS_2_19_or_later
- bool
- select BINUTILS_2_18_or_later
-
-config BINUTILS_2_18_or_later
- bool
- select BINUTILS_HAS_PKGVERSION_BUGURL
select BINUTILS_HAS_HASH_STYLE
+ select BINUTILS_HAS_PKGVERSION_BUGURL
+ select BINUTILS_HAS_PLUGINS
config BINUTILS_HAS_HASH_STYLE
bool