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 # Automatically generated make config: don't edit
3 # Version: 0.9.32.1-git
4 # Mon Sep 12 22:41:20 2011
6 # TARGET_alpha is not set
7 # TARGET_arm is not set
8 # TARGET_avr32 is not set
9 # TARGET_bfin is not set
10 # TARGET_cris is not set
11 # TARGET_e1 is not set
12 # TARGET_frv is not set
13 # TARGET_h8300 is not set
14 # TARGET_hppa is not set
15 # TARGET_i386 is not set
16 # TARGET_i960 is not set
17 # TARGET_ia64 is not set
19 # TARGET_microblaze is not set
20 # TARGET_mips is not set
21 # TARGET_nios is not set
22 # TARGET_nios2 is not set
23 # TARGET_powerpc is not set
24 # TARGET_sh is not set
25 # TARGET_sh64 is not set
26 # TARGET_sparc is not set
27 # TARGET_v850 is not set
28 # TARGET_vax is not set
29 # TARGET_x86_64 is not set
30 # TARGET_xtensa is not set
31 # TARGET_c6x is not set
34 # Target Architecture Features and Options
37 FORCE_OPTIONS_FOR_ARCH=y
39 # CONFIG_ARM_EABI is not set
41 # CONFIG_ARM610 is not set
42 # CONFIG_ARM710 is not set
43 # CONFIG_ARM7TDMI is not set
44 # CONFIG_ARM720T is not set
45 # CONFIG_ARM920T is not set
46 # CONFIG_ARM922T is not set
47 # CONFIG_ARM926T is not set
48 # CONFIG_ARM10T is not set
49 # CONFIG_ARM1136JF_S is not set
50 # CONFIG_ARM1176JZ_S is not set
51 # CONFIG_ARM1176JZF_S is not set
52 # CONFIG_ARM_CORTEX_M3 is not set
53 # CONFIG_ARM_CORTEX_M1 is not set
54 # CONFIG_ARM_SA110 is not set
55 # CONFIG_ARM_SA1100 is not set
56 # CONFIG_ARM_XSCALE is not set
57 # CONFIG_ARM_IWMMXT is not set
61 # Using ELF file format
65 ARCH_WANTS_BIG_ENDIAN=y
66 # ARCH_WANTS_LITTLE_ENDIAN is not set
67 # ARCH_HAS_MMU is not set
69 # UCLIBC_HAS_FPU is not set
70 UCLIBC_HAS_SOFT_FLOAT=y
78 # General Library Settings
80 # HAVE_NO_PIC is not set
82 # ARCH_HAS_NO_SHARED is not set
83 # ARCH_HAS_NO_LDSO is not set
85 # FORCE_SHAREABLE_TEXT_SEGMENTS is not set
88 LDSO_PRELOAD_ENV_SUPPORT=y
89 # LDSO_PRELOAD_FILE_SUPPORT is not set
90 LDSO_BASE_FILENAME="ld.so"
91 UCLIBC_STATIC_LDCONFIG=y
92 # LDSO_RUNPATH is not set
93 # LDSO_SEARCH_INTERP_PATH is not set
95 # LDSO_GNU_HASH_SUPPORT is not set
96 # HAS_NO_THREADS is not set
98 # LINUXTHREADS_NEW is not set
99 # UCLIBC_HAS_THREADS_NATIVE is not set
102 PTHREADS_DEBUG_SUPPORT=y
106 # MALLOC_SIMPLE is not set
108 # MALLOC_GLIBC_COMPAT is not set
109 UCLIBC_DYNAMIC_ATEXIT=y
110 # COMPAT_ATEXIT is not set
111 UCLIBC_SUSV3_LEGACY=y
112 # UCLIBC_SUSV3_LEGACY_MACROS is not set
113 # UCLIBC_SUSV4_LEGACY is not set
114 UCLIBC_STRICT_HEADERS=y
115 # UCLIBC_HAS_STUBS is not set
117 # UCLIBC_HAS_PROGRAM_INVOCATION_NAME is not set
121 # UCLIBC_HAS_GETPT is not set
123 UCLIBC_HAS_TM_EXTENSIONS=y
124 UCLIBC_HAS_TZ_CACHING=y
126 UCLIBC_HAS_TZ_FILE_READ_MANY=y
127 UCLIBC_TZ_FILE_PATH="/etc/TZ"
128 # UCLIBC_FALLBACK_TO_ETC_LOCALTIME is not set
131 # Advanced Library Settings
133 UCLIBC_PWD_BUFFER_SIZE=256
134 UCLIBC_GRP_BUFFER_SIZE=256
137 # Support various families of functions
139 UCLIBC_LINUX_MODULE_24=y
140 UCLIBC_LINUX_SPECIFIC=y
141 UCLIBC_HAS_GNU_ERROR=y
142 # UCLIBC_BSD_SPECIFIC is not set
143 # UCLIBC_HAS_BSD_ERR is not set
144 # UCLIBC_HAS_OBSOLETE_BSD_SIGNAL is not set
145 # UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
146 # UCLIBC_NTP_LEGACY is not set
147 # UCLIBC_SV4_DEPRECATED is not set
148 UCLIBC_HAS_REALTIME=y
149 UCLIBC_HAS_ADVANCED_REALTIME=y
152 UCLIBC_HAS_PROFILING=y
153 UCLIBC_HAS_CRYPT_IMPL=y
155 UCLIBC_HAS_NETWORK_SUPPORT=y
160 UCLIBC_HAS_FULL_RPC=y
161 UCLIBC_HAS_REENTRANT_RPC=y
163 UCLIBC_SUPPORT_AI_ADDRCONFIG=y
164 # UCLIBC_HAS_BSD_RES_CLOSE is not set
165 UCLIBC_HAS_COMPAT_RES_STATE=y
166 # UCLIBC_HAS_EXTRA_COMPAT_RES_STATE is not set
167 # UCLIBC_HAS_LIBRESOLV_STUB is not set
168 # UCLIBC_HAS_LIBNSL_STUB is not set
171 # String and Stdio Support
173 UCLIBC_HAS_STRING_GENERIC_OPT=y
174 UCLIBC_HAS_STRING_ARCH_OPT=y
175 UCLIBC_HAS_CTYPE_TABLES=y
176 UCLIBC_HAS_CTYPE_SIGNED=y
177 # UCLIBC_HAS_CTYPE_UNSAFE is not set
178 # UCLIBC_HAS_CTYPE_CHECKED is not set
179 UCLIBC_HAS_CTYPE_ENFORCED=y
181 # UCLIBC_HAS_LOCALE is not set
182 # UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
183 UCLIBC_HAS_GLIBC_CUSTOM_PRINTF=y
184 # USE_OLD_VFPRINTF is not set
185 UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
186 # UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
187 # UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
188 # UCLIBC_HAS_STDIO_BUFSIZ_256 is not set
189 # UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
190 # UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
191 # UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
192 UCLIBC_HAS_STDIO_BUFSIZ_4096=y
193 # UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
194 UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
195 # UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
196 # UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
197 # UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
198 UCLIBC_HAS_STDIO_GETC_MACRO=y
199 UCLIBC_HAS_STDIO_PUTC_MACRO=y
200 UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
201 # UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
202 # UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
203 # UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
204 UCLIBC_HAS_PRINTF_M_SPEC=y
205 UCLIBC_HAS_ERRNO_MESSAGES=y
206 # UCLIBC_HAS_SYS_ERRLIST is not set
207 UCLIBC_HAS_SIGNUM_MESSAGES=y
208 # UCLIBC_HAS_SYS_SIGLIST is not set
209 UCLIBC_HAS_GNU_GETOPT=y
210 UCLIBC_HAS_STDIO_FUTEXES=y
211 UCLIBC_HAS_GNU_GETSUBOPT=y
217 # UCLIBC_HAS_REGEX_OLD is not set
219 # UCLIBC_HAS_FNMATCH_OLD is not set
220 # UCLIBC_HAS_WORDEXP is not set
222 # UCLIBC_HAS_FTS is not set
224 UCLIBC_HAS_GNU_GLOB=y
225 # UCLIBC_HAS_UTMPX is not set
228 # Library Installation Options
233 # HARDWIRED_ABSPATH is not set
238 # UCLIBC_BUILD_PIE is not set
239 # UCLIBC_HAS_ARC4RANDOM is not set
240 # HAVE_NO_SSP is not set
241 # UCLIBC_HAS_SSP is not set
243 # UCLIBC_BUILD_NOW is not set
244 UCLIBC_BUILD_NOEXECSTACK=y
247 # uClibc development/debugging options
249 CROSS_COMPILER_PREFIX=""
250 UCLIBC_EXTRA_CFLAGS=""
253 # DOASSERTS is not set
254 # SUPPORT_LD_DEBUG is not set
255 # SUPPORT_LD_DEBUG_EARLY is not set
256 # UCLIBC_MALLOC_DEBUGGING is not set
257 UCLIBC_HAS_BACKTRACE=y
261 # UCLIBC_MJN3_ONLY is not set