scripts/addToolsVersion: properly handle .in vs. .in.2
While most components have their version in the .in file, some
have it in the .in.2 (eg. elf2flt).
Currently, to handle this case, we indiscriminately munge both files,
but this is wrong: in the elf2flt case, if we add a binutils version,
we do not want it to be added to elf2flt, and conversely.
So, for each tool, we need to explicitly know what file to munge.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
1 File.........: 0 - Table of content.txt
2 Copyright....: (C) 2010 Yann E. MORIN <yann.morin.1998@free.fr>
3 License......: Creative Commons Attribution Share Alike (CC-by-sa), v2.5
12 - Referring to crosstool-NG
14 2- Installing crosstool-NG
17 - Preparing for packaging
21 3- Configuring a toolchain
22 - Interesting config options
23 - Re-building an existing toolchain
24 - Using as a backend for a build-system
26 4- Building the toolchain
27 - Stopping and restarting a build
28 - Testing all toolchains at once
29 - Overriding the number of // jobs
33 5- Using the toolchain
34 - The 'populate' script
37 - Seemingly-native toolchains
40 - Sending a bug report
46 - Architecture-specific
47 - Adding a new version of a component
50 9 - How is a toolchain constructed?
51 - I want a cross-compiler! What is this toolchain you're speaking about?
52 - So, what are those components in a toolchain?
53 - And now, how do all these components chained together?
54 - So the list is complete. But why does crosstool-NG have more steps?
59 - gcc is not found, although I *do* have gcc installed
60 - The extract and/or path steps fail under Cygwin
61 - uClibc fails to build under Cygwin
62 - On 64-bit build systems, the glibc (possibly eglibc too) build
63 fails for 64-bit targets, because it can not find libgcc
64 - libtool.m4: error: problem compiling FC test program
65 - unable to detect the exception model
66 - configure: error: forced unwind support is required
67 - glibc start files and headers fail with: [/usr/include/limits.h] Error 1
70 - Using crosstool-NG on FreeBSD (and other *BSD)
71 - Using crosstool-NG on MacOS-X
72 - Using Mercurial to hack crosstool-NG