binutils/binutils: 2.23.2 is a 2_23_or_later (ie. has gold)
Thus spake Niels:
This commit adds support for binutils 2.23.2
http://crosstool-ng.org/hg/crosstool-ng/rev/bc4b36e3df0c
However, in 'config/binutils/binutils.in <http://binutils.in>' the
Kconfig option to select this version of binutils does not automatically
select the symbol 'BINUTILS_2_23_or_later'. This makes gold unavailable
for the latest version of binutils. I'm not sure whether this is on
purpose or not, my impression is that you forgot to add the line "select
BINUTILS_2_23_or_later".
The problem still persists in the latest version in the repository
(032ebcc89c96).
Reported-by: Niels Penneman <niels@penneman.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
4 local cur prev samples show_samples actions steps start_steps stop_steps ct_ng_opts vars
7 prev=${COMP_WORDS[COMP_CWORD-1]}
9 samples=$( "${COMP_WORDS[0]}" list-samples-short 2>/dev/null )
10 show_samples=$(echo "${samples}" |sed -r -e 's/(^| )/\1show-/g;')
11 build_samples=$(echo "${samples}" |sed -r -e 's/(^| )/\1build-/g;')
12 check_samples=$(echo "${samples}" |sed -r -e 's/(^| )/\1check-/g;')
14 steps=$(${COMP_WORDS[0]} list-steps 2>/dev/null |awk '$1 == "-" { print $2; }')
15 start_steps=$(echo "${steps}" |sed -r -e 's/($| )/\1+/;')
16 stop_steps=$(echo "${steps}" |sed -r -e 's/(^| )/+\1/;')
18 actions='help menuconfig oldconfig saveconfig extractconfig
19 defconfig savedefconfig
20 build build. build-all build-all.
21 wiki-samples list-samples list-samples-short check-samples
23 show-tuple show-all show-config
24 clean distclean updatetools
27 vars="RESTART= STOP= PREFIX= V= DEFCONFIG="
29 ct_ng_opts="${samples} ${show_samples} ${build_samples} ${check_samples}
30 ${steps} ${start_steps} ${stop_steps}
33 COMPREPLY=($(compgen -W "${ct_ng_opts}" -- "${cur}"))
36 complete -F _ct_ng ct-ng