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
4 # Tue Apr 6 16:47:32 2010
6 # TARGET_alpha is not set
7 # TARGET_arm is not set
8 # TARGET_avr32 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
18 # TARGET_m68k 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
33 # Target Architecture Features and Options
36 FORCE_OPTIONS_FOR_ARCH=y
38 # UCLIBC_FORMAT_ELF is not set
39 UCLIBC_FORMAT_FDPIC_ELF=y
40 # UCLIBC_FORMAT_FLAT is not set
41 # UCLIBC_FORMAT_FLAT_SEP_DATA is not set
42 # UCLIBC_FORMAT_SHARED_FLAT is not set
51 # Target CPU lacks a memory management unit (MMU)
56 # UCLIBC_HAS_FENV is not set
57 KERNEL_HEADERS="/usr/include"
58 UCLIBC_UCLINUX_BROKEN_MUNMAP=y
62 # General Library Settings
64 # HAVE_NO_PIC is not set
66 # ARCH_HAS_NO_SHARED is not set
67 # ARCH_HAS_NO_LDSO is not set
69 FORCE_SHAREABLE_TEXT_SEGMENTS=y
72 # LDSO_PRELOAD_FILE_SUPPORT is not set
73 LDSO_BASE_FILENAME="ld.so"
74 UCLIBC_STATIC_LDCONFIG=y
75 # LDSO_RUNPATH is not set
77 # LDSO_GNU_HASH_SUPPORT is not set
78 # HAS_NO_THREADS is not set
80 PTHREADS_DEBUG_SUPPORT=y
85 # MALLOC_SIMPLE is not set
86 # MALLOC_STANDARD is not set
87 # MALLOC_GLIBC_COMPAT is not set
88 UCLIBC_DYNAMIC_ATEXIT=y
89 # COMPAT_ATEXIT is not set
91 UCLIBC_SUSV3_LEGACY_MACROS=y
92 # UCLIBC_HAS_STUBS is not set
93 # UCLIBC_HAS_SHADOW is not set
94 UCLIBC_HAS_PROGRAM_INVOCATION_NAME=y
95 UCLIBC_HAS___PROGNAME=y
99 # UCLIBC_HAS_GETPT is not set
100 UCLIBC_HAS_TM_EXTENSIONS=y
101 # UCLIBC_HAS_TZ_CACHING is not set
102 # UCLIBC_HAS_TZ_FILE is not set
105 # Advanced Library Settings
107 UCLIBC_PWD_BUFFER_SIZE=256
108 UCLIBC_GRP_BUFFER_SIZE=256
111 # Support various families of functions
113 # UCLIBC_LINUX_MODULE_24 is not set
114 UCLIBC_LINUX_SPECIFIC=y
115 UCLIBC_HAS_GNU_ERROR=y
116 UCLIBC_BSD_SPECIFIC=y
118 UCLIBC_HAS_OBSOLETE_BSD_SIGNAL=y
119 # UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL is not set
120 # UCLIBC_NTP_LEGACY is not set
121 UCLIBC_SV4_DEPRECATED=y
122 UCLIBC_HAS_REALTIME=y
123 UCLIBC_HAS_ADVANCED_REALTIME=y
126 UCLIBC_HAS_PROFILING=y
127 UCLIBC_HAS_CRYPT_IMPL=y
129 UCLIBC_HAS_NETWORK_SUPPORT=y
132 # UCLIBC_HAS_IPV6 is not set
134 UCLIBC_HAS_FULL_RPC=y
135 UCLIBC_HAS_REENTRANT_RPC=y
136 # UCLIBC_USE_NETLINK is not set
137 UCLIBC_HAS_BSD_RES_CLOSE=y
140 # String and Stdio Support
142 UCLIBC_HAS_STRING_GENERIC_OPT=y
143 UCLIBC_HAS_STRING_ARCH_OPT=y
144 UCLIBC_HAS_CTYPE_TABLES=y
145 UCLIBC_HAS_CTYPE_SIGNED=y
146 UCLIBC_HAS_CTYPE_UNSAFE=y
147 # UCLIBC_HAS_CTYPE_CHECKED is not set
148 # UCLIBC_HAS_CTYPE_ENFORCED is not set
149 # UCLIBC_HAS_WCHAR is not set
150 # UCLIBC_HAS_LOCALE is not set
151 # UCLIBC_HAS_HEXADECIMAL_FLOATS is not set
152 # UCLIBC_HAS_GLIBC_CUSTOM_PRINTF is not set
153 # USE_OLD_VFPRINTF is not set
154 UCLIBC_PRINTF_SCANF_POSITIONAL_ARGS=9
155 # UCLIBC_HAS_SCANF_GLIBC_A_FLAG is not set
156 # UCLIBC_HAS_STDIO_BUFSIZ_NONE is not set
157 UCLIBC_HAS_STDIO_BUFSIZ_256=y
158 # UCLIBC_HAS_STDIO_BUFSIZ_512 is not set
159 # UCLIBC_HAS_STDIO_BUFSIZ_1024 is not set
160 # UCLIBC_HAS_STDIO_BUFSIZ_2048 is not set
161 # UCLIBC_HAS_STDIO_BUFSIZ_4096 is not set
162 # UCLIBC_HAS_STDIO_BUFSIZ_8192 is not set
163 UCLIBC_HAS_STDIO_BUILTIN_BUFFER_NONE=y
164 # UCLIBC_HAS_STDIO_BUILTIN_BUFFER_4 is not set
165 # UCLIBC_HAS_STDIO_BUILTIN_BUFFER_8 is not set
166 # UCLIBC_HAS_STDIO_SHUTDOWN_ON_ABORT is not set
167 UCLIBC_HAS_STDIO_GETC_MACRO=y
168 UCLIBC_HAS_STDIO_PUTC_MACRO=y
169 UCLIBC_HAS_STDIO_AUTO_RW_TRANSITION=y
170 # UCLIBC_HAS_FOPEN_LARGEFILE_MODE is not set
171 # UCLIBC_HAS_FOPEN_EXCLUSIVE_MODE is not set
172 # UCLIBC_HAS_GLIBC_CUSTOM_STREAMS is not set
173 # UCLIBC_HAS_PRINTF_M_SPEC is not set
174 UCLIBC_HAS_ERRNO_MESSAGES=y
175 # UCLIBC_HAS_SYS_ERRLIST is not set
176 UCLIBC_HAS_SIGNUM_MESSAGES=y
177 # UCLIBC_HAS_SYS_SIGLIST is not set
178 UCLIBC_HAS_GNU_GETOPT=y
179 UCLIBC_HAS_GNU_GETSUBOPT=y
185 UCLIBC_HAS_REGEX_OLD=y
187 UCLIBC_HAS_FNMATCH_OLD=y
188 # UCLIBC_HAS_WORDEXP is not set
189 # UCLIBC_HAS_FTW is not set
191 # UCLIBC_HAS_GNU_GLOB is not set
194 # Library Installation Options
196 SHARED_LIB_LOADER_PREFIX="/lib"
203 # UCLIBC_HAS_ARC4RANDOM is not set
204 # HAVE_NO_SSP is not set
205 # UCLIBC_HAS_SSP is not set
207 # UCLIBC_BUILD_NOW is not set
208 # UCLIBC_BUILD_NOEXECSTACK is not set
211 # uClibc development/debugging options
213 CROSS_COMPILER_PREFIX="bfin-elf-"
214 UCLIBC_EXTRA_CFLAGS=""
216 # DODEBUG_PT is not set
218 # DOASSERTS is not set
220 # SUPPORT_LD_DEBUG_EARLY is not set
221 # UCLIBC_MALLOC_DEBUGGING is not set
223 # EXTRA_WARNINGS is not set
225 # UCLIBC_MJN3_ONLY is not set