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>
2 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
12 CT_BINUTILS_V_2_21_1a=y
13 CT_BINUTILS_LINKER_LD_GOLD=y
14 CT_BINUTILS_GOLD_THREADS=y
15 CT_BINUTILS_LD_WRAPPER=y
17 CT_BINUTILS_FOR_TARGET=y
20 CT_CC_GCC_DISABLE_PCH=y
21 # CT_CC_GCC_SJLJ_EXCEPTIONS is not set
23 CT_LIBC_UCLIBC_V_0_9_32=y
24 CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
25 CT_LIBC_UCLIBC_WCHAR=y