Save the toolchain configuration to its own file, as an auto-extracting shell script:
- get rid of the 'extractconfig' action, it was cumbersome to use, and badly documented,
- introduce a skeleton for the config script,
- update auto-completion,
- document the config script.
/trunk/kconfig/kconfig.mk | 9 2 7 0 ++-------
/trunk/scripts/crosstool.sh | 6 5 1 0 +++++-
/trunk/docs/overview.txt | 21 9 12 0 +++++++++------------
/trunk/tools/toolchain-config.in | 8 8 0 0 ++++++++
/trunk/ct-ng.comp | 2 1 1 0 +-
5 files changed, 25 insertions(+), 21 deletions(-)
5 config BINUTILS_VERSION
10 prompt "binutils version"
12 config BINUTILS_V_2_14
14 prompt "2.14 (OBSOLETE)"
17 config BINUTILS_V_2_15
19 prompt "2.15 (OBSOLETE)"
22 config BINUTILS_V_2_16_1
26 config BINUTILS_V_2_17
30 config BINUTILS_V_2_18
34 config BINUTILS_V_2_18_50_0_4
36 prompt "2.18.50.0.4 (EXPERIMENTAL)"
37 depends on EXPERIMENTAL
39 config BINUTILS_V_2_18_50_0_6
41 prompt "2.18.50.0.6 (EXPERIMENTAL)"
42 depends on EXPERIMENTAL
44 config BINUTILS_V_2_18_50_0_7
46 prompt "2.18.50.0.7 (EXPERIMENTAL)"
47 depends on EXPERIMENTAL
49 config BINUTILS_V_2_18_50_0_8
51 prompt "2.18.50.0.8 (EXPERIMENTAL)"
52 depends on EXPERIMENTAL
54 config BINUTILS_V_2_18_50_0_9
56 prompt "2.18.50.0.9 (EXPERIMENTAL)"
57 depends on EXPERIMENTAL
59 # CT_INSERT_VERSION_ABOVE
60 # Don't remove above line!
63 config BINUTILS_VERSION
65 default "2.14" if BINUTILS_V_2_14
66 default "2.15" if BINUTILS_V_2_15
67 default "2.16.1" if BINUTILS_V_2_16_1
68 default "2.17" if BINUTILS_V_2_17
69 default "2.18" if BINUTILS_V_2_18
70 default "2.18.50.0.4" if BINUTILS_V_2_18_50_0_4
71 default "2.18.50.0.6" if BINUTILS_V_2_18_50_0_6
72 default "2.18.50.0.7" if BINUTILS_V_2_18_50_0_7
73 default "2.18.50.0.8" if BINUTILS_V_2_18_50_0_8
74 default "2.18.50.0.9" if BINUTILS_V_2_18_50_0_9
75 # CT_INSERT_VERSION_STRING_ABOVE
76 # Don't remove above line!
78 config BINUTILS_EXTRA_CONFIG
80 prompt "binutils extra config"
83 Extra flags passed onto ./configure when configuring
85 config BINUTILS_FOR_TARGET
87 prompt "binutils libraries for the target"
88 depends on ! BARE_METAL
91 Some utilities may need binutils libraries to be available on
92 the target, eg. oprofile.
94 if BINUTILS_FOR_TARGET
96 config BINUTILS_FOR_TARGET_IBERTY
101 config BINUTILS_FOR_TARGET_BFD
106 endif # BINUTILS_FOR_TARGET