7 prompt "binutils version"
8 # Don't remove next line
9 # CT_INSERT_VERSION_BELOW
11 config BINUTILS_V_2_21
13 depends on EXPERIMENTAL
15 select BINUTILS_2_21_or_later
17 config BINUTILS_V_2_20_1
21 config BINUTILS_V_2_20
25 config BINUTILS_V_2_19_1
29 config BINUTILS_V_2_19
33 config BINUTILS_V_2_18
37 config BINUTILS_V_2_17
39 prompt "2.17 (OBSOLETE)"
42 config BINUTILS_V_2_16_1
44 prompt "2.16.1 (OBSOLETE)"
49 config BINUTILS_VERSION
51 # Don't remove next line
52 # CT_INSERT_VERSION_STRING_BELOW
53 default "2.21" if BINUTILS_V_2_21
54 default "2.20.1" if BINUTILS_V_2_20_1
55 default "2.20" if BINUTILS_V_2_20
56 default "2.19.1" if BINUTILS_V_2_19_1
57 default "2.19" if BINUTILS_V_2_19
58 default "2.18" if BINUTILS_V_2_18
59 default "2.17" if BINUTILS_V_2_17
60 default "2.16.1" if BINUTILS_V_2_16_1
62 config BINUTILS_2_21_or_later
64 select BINUTILS_HAS_GOLD
66 config BINUTILS_HAS_GOLD
73 prompt "Linkers to enable"
75 config BINUTILS_LINKER_LD
79 The historical, bfd linker.
81 config BINUTILS_LINKER_GOLD
84 depends on BINUTILS_HAS_GOLD
85 depends on EXPERIMENTAL
86 select BINUTILS_GOLD_INSTALLED
88 gold is a new, optimised, multi-threaded linker with support
89 for plugins. Designed to be a drop-in replacement for the
90 original linker, ld, it can be much faster, with a 5:1 or
91 bigger ratio being not uncommon, YMMV.
93 config BINUTILS_LINKER_LD_GOLD
96 depends on BINUTILS_HAS_GOLD
97 depends on EXPERIMENTAL
98 select BINUTILS_GOLD_INSTALLED
100 Both the historical ld and the new gold linkers will be
101 installed, with ld being the default linker used.
103 See help for gold, above.
105 config BINUTILS_LINKER_GOLD_LD
108 depends on BINUTILS_HAS_GOLD
109 depends on EXPERIMENTAL
110 select BINUTILS_GOLD_INSTALLED
112 Both the historical ld and the new gold linkers will be
113 installed, with gold being the default linker used.
115 See help for gold, above.
117 endchoice # Enable linkers
119 config BINUTILS_GOLD_INSTALLED
122 config BINUTILS_LINKERS_LIST
124 default "ld" if BINUTILS_LINKER_LD
125 default "gold" if BINUTILS_LINKER_GOLD
126 default "ld,gold" if BINUTILS_LINKER_LD_GOLD
127 default "gold,ld" if BINUTILS_LINKER_GOLD_LD
129 endif # BINUTILS_HAS_GOLD
131 config BINUTILS_EXTRA_CONFIG
133 prompt "binutils extra config"
136 Extra flags passed onto ./configure when configuring
138 config BINUTILS_FOR_TARGET
140 prompt "binutils libraries for the target"
141 depends on ! BARE_METAL
145 Some utilities may need binutils libraries to be available on
146 the target, eg. oprofile.
148 if BINUTILS_FOR_TARGET
150 config BINUTILS_FOR_TARGET_IBERTY
155 config BINUTILS_FOR_TARGET_BFD
160 endif # BINUTILS_FOR_TARGET