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 # dmalloc debug facility
3 ## depends on ! BACKEND
5 ## help dmalloc helps tracking memory allocation mis-usage
6 ## help such as double-free, use-after-free...
10 prompt "dmalloc version"
11 # Don't remove next line
12 # CT_INSERT_VERSION_BELOW
14 config DMALLOC_V_5_5_2
20 config DMALLOC_VERSION
22 # Don't remove next line
23 # CT_INSERT_VERSION_STRING_BELOW
24 default "5.5.2" if DMALLOC_V_5_5_2