diff options
author | Alexey Neyman <stilor@att.net> | 2017-05-07 15:12:08 -0700 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-07-08 10:56:29 -0700 |
commit | 0a654319f9a1d0ebaacb5572139f72c7f236b100 (patch) | |
tree | 476bcec92e75d294e4189d45725569c91dbc766d /config/binutils | |
parent | 8f8e131d566af1f577d8fb6e62e6f121b7955472 (diff) | |
download | crosstool-ng-0a654319f9a1d0ebaacb5572139f72c7f236b100.tar.gz crosstool-ng-0a654319f9a1d0ebaacb5572139f72c7f236b100.tar.bz2 crosstool-ng-0a654319f9a1d0ebaacb5572139f72c7f236b100.zip |
First stab at gen-versions.sh
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'config/binutils')
-rw-r--r-- | config/binutils/binutils.in | 161 |
1 files changed, 5 insertions, 156 deletions
diff --git a/config/binutils/binutils.in b/config/binutils/binutils.in index c83cbb1a..b97f1788 100644 --- a/config/binutils/binutils.in +++ b/config/binutils/binutils.in @@ -2,167 +2,14 @@ comment "GNU binutils" -config BINUTILS_CUSTOM - bool - prompt "Custom binutils" - depends on EXPERIMENTAL - select BINUTILS_2_26_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 BINUTILS_SHOW_LINARO - bool - prompt "Show Linaro versions" - help - Linaro is maintaining some advanced/more stable/experimental versions - of binutils, especially for the ARM architecture. - - Those versions have not been blessed by the binutils comunity (nor have they - been cursed either!), but they look to be pretty much stable, and even - more stable than the upstream versions. YMMV... - - If you do not know what this Linaro stuff is, then simply say 'n' here, - and rest in peace. OTOH, if you know what you are doing, you will be - able to use and enjoy :-) the Linaro versions by saying 'y' here. - - Linaro: http://www.linaro.org/ - -choice - bool - prompt "binutils version" -# Don't remove next line -# CT_INSERT_VERSION_BELOW - -config BINUTILS_V_2_28 - bool - prompt "2.28" - select BINUTILS_2_27_or_later - -config BINUTILS_V_2_27 - bool - prompt "2.27" - select BINUTILS_2_27_or_later - -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 (OBSOLETE)" - select BINUTILS_2_25_1_or_later - depends on OBSOLETE - -config BINUTILS_LINARO_V_2_25 - bool - prompt "linaro-2.25.0-2015.01-2 (OBSOLETE)" - select BINUTILS_2_25_or_later - depends on BINUTILS_SHOW_LINARO - depends on OBSOLETE - -config BINUTILS_LINARO_V_2_24 - bool - prompt "linaro-2.24.0-2014.11-2 (OBSOLETE)" - select BINUTILS_2_24_or_later - depends on BINUTILS_SHOW_LINARO - depends on OBSOLETE - -config BINUTILS_V_2_24 - bool - prompt "2.24 (OBSOLETE)" - select BINUTILS_2_24_or_later - depends on OBSOLETE - -config BINUTILS_LINARO_V_2_23_2 - bool - prompt "linaro-2.23.2-2013.10-4 (OBSOLETE)" - select BINUTILS_2_23_2_or_later - depends on BINUTILS_SHOW_LINARO - depends on OBSOLETE - -config BINUTILS_V_2_23_2 - bool - prompt "2.23.2 (OBSOLETE)" - select BINUTILS_2_23_2_or_later - depends on OBSOLETE - -endchoice - -config BINUTILS_VERSION - string -# Don't remove next line -# CT_INSERT_VERSION_STRING_BELOW - default "2.28" if BINUTILS_V_2_28 - default "2.27" if BINUTILS_V_2_27 - 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 - default "2.24" if BINUTILS_V_2_24 - default "linaro-2.23.2-2013.10-4" if BINUTILS_LINARO_V_2_23_2 - default "2.23.2" if BINUTILS_V_2_23_2 - -endif # ! BINUTILS_CUSTOM - -config BINUTILS_2_27_or_later - bool - select BINUTILS_2_26_or_later - -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 - -config BINUTILS_2_25_or_later - bool - select BINUTILS_2_24_or_later - -config BINUTILS_2_24_or_later - bool - select BINUTILS_2_23_2_or_later - -config BINUTILS_2_23_2_or_later - bool - select BINUTILS_HAS_GOLD - select BINUTILS_HAS_HASH_STYLE - select BINUTILS_HAS_PKGVERSION_BUGURL - select BINUTILS_HAS_PLUGINS +source "config/versions/binutils.in" config BINUTILS_HAS_HASH_STYLE + default y if BINUTILS_V_2_23_2_or_later bool config BINUTILS_HAS_GOLD + default y if BINUTILS_V_2_23_2_or_later bool # gold only suports the listed architectures @@ -179,9 +26,11 @@ config BINUTILS_GOLD_SUPPORT depends on ! STATIC_TOOLCHAIN config BINUTILS_HAS_PLUGINS + default y if BINUTILS_V_2_23_2_or_later bool config BINUTILS_HAS_PKGVERSION_BUGURL + default y if BINUTILS_V_2_23_2_or_later bool # Force using the BFD linker if needed. There are two options: |