scripts: remove . from $PATH
Add CT_SanitizePath function which removes entries referring to ., /tmp
and non-existing directories from $PATH, and call it early in the
build script.
If . is in PATH, gcc-4.4.4 build breaks:
[ALL ] checking what assembler to use...
/tmp/build/targets/arm-unknown-linux-uclibcgnueabi/build/gcc-core-static/arm-unknown-linux-uclibcgnueabi/bin/as
...
[ALL ] config.status: creating as
i.e. "as" is supposed to be the arm-unknown-linux-uclibcgnueabi cross assembler,
but config.status creates a local "as" script which is calling the
host assembler.
Signed-off-by: Johannes Stezenbach <js@sig21.net>
[Yann E. MORIN: style fixes + explanations]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
2 # Automatically generated make config: don't edit
3 # crosstool-NG version: hg_default@2014_cd9322b076d7
4 # Sun Jul 11 00:10:01 2010
6 # CT_BACKEND is not set
9 # Paths and misc options
13 # crosstool-NG behavior
15 # CT_OBSOLETE is not set
17 # CT_DEBUG_CT is not set
22 CT_LOCAL_TARBALLS_DIR="${HOME}/src"
24 CT_WORK_DIR="${CT_TOP_DIR}/targets"
25 CT_PREFIX_DIR="${HOME}/x-tools/${CT_TARGET}"
26 CT_INSTALL_DIR="${CT_PREFIX_DIR}"
33 # CT_FORBID_DOWNLOAD is not set
34 # CT_FORCE_DOWNLOAD is not set
36 # CT_PREFER_MIRROR is not set
37 CT_MIRROR_BASE_URL="http://ymorin.is-a-geek.org/mirrors/"
39 CT_DOWNLOAD_MAX_CHUNKS=5
40 # CT_ONLY_DOWNLOAD is not set
45 # CT_FORCE_EXTRACT is not set
46 CT_OVERIDE_CONFIG_GUESS_SUB=y
47 # CT_ONLY_EXTRACT is not set
49 # CT_PATCH_LOCAL is not set
50 # CT_PATCH_BUNDLED_LOCAL is not set
51 # CT_PATCH_LOCAL_BUNDLED is not set
52 # CT_PATCH_BUNDLED_FALLBACK_LOCAL is not set
53 # CT_PATCH_LOCAL_FALLBACK_BUNDLED is not set
54 # CT_PATCH_NONE is not set
55 CT_PATCH_ORDER="bundled"
56 # CT_PATCH_SINGLE is not set
57 # CT_PATCH_USE_LOCAL is not set
65 # CT_CONFIG_SHELL_SH is not set
66 # CT_CONFIG_SHELL_ASH is not set
67 CT_CONFIG_SHELL_BASH=y
68 # CT_CONFIG_SHELL_CUSTOM is not set
69 CT_CONFIG_SHELL="bash"
74 # CT_LOG_ERROR is not set
75 # CT_LOG_WARN is not set
76 # CT_LOG_INFO is not set
78 # CT_LOG_ALL is not set
79 # CT_LOG_DEBUG is not set
80 CT_LOG_LEVEL_MAX="EXTRA"
81 # CT_LOG_SEE_TOOLS_WARN is not set
84 CT_LOG_FILE_COMPRESS=y
90 CT_ARCH_SUPPORTS_BOTH_MMU=y
91 CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
93 # CT_ARCH_SUPPORTS_64 is not set
94 CT_ARCH_SUPPORT_ARCH=y
95 # CT_ARCH_SUPPORT_ABI is not set
97 CT_ARCH_SUPPORT_TUNE=y
99 CT_ARCH_DEFAULT_HAS_MMU=y
100 # CT_ARCH_DEFAULT_BE is not set
103 # CT_ARCH_DEFAULT_64 is not set
104 CT_ARCH_ARCH="armv5te"
106 CT_ARCH_TUNE="xscale"
109 # CT_ARCH_LE is not set
111 # CT_ARCH_64 is not set
113 # CT_ARCH_FLOAT_HW is not set
119 # General target options
121 # CT_ARCH_alpha is not set
123 # CT_ARCH_avr32 is not set
124 # CT_ARCH_blackfin is not set
125 # CT_ARCH_ia64 is not set
126 # CT_ARCH_m68k is not set
127 # CT_ARCH_mips is not set
128 # CT_ARCH_powerpc is not set
129 # CT_ARCH_s390 is not set
130 # CT_ARCH_sh is not set
131 # CT_ARCH_x86 is not set
132 CT_ARCH_alpha_AVAILABLE=y
133 CT_ARCH_arm_AVAILABLE=y
134 CT_ARCH_ARM_MODE="arm"
135 CT_ARCH_ARM_MODE_ARM=y
136 # CT_ARCH_ARM_MODE_THUMB is not set
137 # CT_ARCH_ARM_INTERWORKING is not set
139 CT_ARCH_avr32_AVAILABLE=y
140 CT_ARCH_blackfin_AVAILABLE=y
141 CT_ARCH_ia64_AVAILABLE=y
142 CT_ARCH_m68k_AVAILABLE=y
143 CT_ARCH_mips_AVAILABLE=y
144 CT_ARCH_powerpc_AVAILABLE=y
145 CT_ARCH_s390_AVAILABLE=y
146 CT_ARCH_sh_AVAILABLE=y
147 CT_ARCH_x86_AVAILABLE=y
151 # Target optimisations
159 # General toolchain options
162 CT_SYSROOT_DIR_PREFIX=""
165 # Tuple completion and aliasing
167 CT_TARGET_VENDOR="test_nptl"
168 CT_TARGET_ALIAS_SED_EXPR=""
174 # CT_NATIVE is not set
176 # CT_CROSS_NATIVE is not set
177 # CT_CANADIAN is not set
178 CT_TOOLCHAIN_TYPE="cross"
190 # CT_BARE_METAL is not set
191 CT_KERNEL_SUPPORTS_SHARED_LIBS=y
193 CT_KERNEL_VERSION="2.6.34.1"
194 # CT_KERNEL_bare_metal is not set
196 CT_KERNEL_bare_metal_AVAILABLE=y
197 CT_KERNEL_linux_AVAILABLE=y
198 CT_KERNEL_LINUX_INSTALL=y
199 CT_KERNEL_V_2_6_34_1=y
200 # CT_KERNEL_V_2_6_34 is not set
201 # CT_KERNEL_V_2_6_33_6 is not set
202 # CT_KERNEL_V_2_6_33_5 is not set
203 # CT_KERNEL_V_2_6_33_4 is not set
204 # CT_KERNEL_V_2_6_33_3 is not set
205 # CT_KERNEL_V_2_6_33_2 is not set
206 # CT_KERNEL_V_2_6_33_1 is not set
207 # CT_KERNEL_V_2_6_33 is not set
208 # CT_KERNEL_V_2_6_32_16 is not set
209 # CT_KERNEL_V_2_6_31_14 is not set
210 # CT_KERNEL_V_2_6_30_10 is not set
211 # CT_KERNEL_V_2_6_27_48 is not set
212 # CT_KERNEL_LINUX_CUSTOM is not set
213 CT_KERNEL_LINUX_VERBOSITY_0=y
214 # CT_KERNEL_LINUX_VERBOSITY_1 is not set
215 # CT_KERNEL_LINUX_VERBOSITY_2 is not set
216 CT_KERNEL_LINUX_VERBOSE_LEVEL=0
217 CT_KERNEL_LINUX_INSTALL_CHECK=y
218 # CT_KERNEL_LINUX_USE_CUSTOM_HEADERS is not set
221 # Common kernel options
229 # CT_ARCH_BINFMT_FLAT is not set
230 # CT_ARCH_BINFMT_FDPIC is not set
235 # CT_BINUTILS_V_2_20_1 is not set
237 # CT_BINUTILS_V_2_19_1 is not set
238 # CT_BINUTILS_V_2_19 is not set
239 # CT_BINUTILS_V_2_18 is not set
240 # CT_BINUTILS_V_2_17 is not set
241 # CT_BINUTILS_V_2_16_1 is not set
242 CT_BINUTILS_VERSION="2.20"
243 CT_BINUTILS_EXTRA_CONFIG=""
244 # CT_BINUTILS_FOR_TARGET is not set
255 CT_CC_VERSION="4.4.3"
257 # CT_CC_V_4_5_0 is not set
258 # CT_CC_V_4_4_4 is not set
260 # CT_CC_V_4_4_2 is not set
261 # CT_CC_V_4_4_1 is not set
262 # CT_CC_V_4_4_0 is not set
263 # CT_CC_V_4_3_4 is not set
264 # CT_CC_V_4_3_3 is not set
265 # CT_CC_V_4_3_2 is not set
266 # CT_CC_V_4_3_1 is not set
267 # CT_CC_V_4_2_4 is not set
268 # CT_CC_V_4_2_3 is not set
269 # CT_CC_V_4_2_2 is not set
270 # CT_CC_V_4_2_1 is not set
271 # CT_CC_V_4_2_0 is not set
272 # CT_CC_V_4_1_2 is not set
273 # CT_CC_V_4_0_4 is not set
274 # CT_CC_V_3_4_6 is not set
275 CT_CC_GCC_4_2_or_later=y
276 CT_CC_GCC_4_3_or_later=y
277 CT_CC_GCC_4_4_or_later=y
278 # CT_CC_GCC_4_5_or_later is not set
279 CT_CC_GCC_USE_GMP_MPFR=y
280 CT_CC_GCC_USE_PPL_CLOOG=y
281 # CT_CC_GCC_USE_MPC_LIBELF is not set
283 # CT_CC_SJLJ_EXCEPTIONS_CONFIGURE is not set
284 # CT_CC_SJLJ_EXCEPTIONS_USE is not set
285 CT_CC_SJLJ_EXCEPTIONS_DONT_USE=y
286 CT_CC_ENABLE_CXX_FLAGS=""
287 CT_CC_CORE_EXTRA_CONFIG=""
288 CT_CC_EXTRA_CONFIG=""
289 CT_CC_GCC_ENABLE_TARGET_OPTSPACE=y
290 # CT_CC_GCC_DISABLE_PCH is not set
291 CT_CC_PKGVERSION="crosstool-NG-${CT_VERSION}"
294 CT_CC_SUPPORT_FORTRAN=y
298 CT_CC_SUPPORT_OBJCXX=y
301 # Additional supported languages:
304 # CT_CC_LANG_FORTRAN is not set
305 # CT_CC_LANG_JAVA is not set
306 # CT_CC_LANG_ADA is not set
307 # CT_CC_LANG_OBJC is not set
308 # CT_CC_LANG_OBJCXX is not set
315 CT_LIBC_VERSION="20100710"
316 # CT_LIBC_eglibc is not set
317 # CT_LIBC_glibc is not set
318 # CT_LIBC_newlib is not set
319 # CT_LIBC_none is not set
321 CT_LIBC_eglibc_AVAILABLE=y
322 CT_LIBC_glibc_AVAILABLE=y
323 CT_LIBC_newlib_AVAILABLE=y
324 CT_LIBC_none_AVAILABLE=y
325 CT_LIBC_uClibc_AVAILABLE=y
326 # CT_LIBC_UCLIBC_V_0_9_31 is not set
327 # CT_LIBC_UCLIBC_V_0_9_30_2 is not set
328 # CT_LIBC_V_0_9_30_1 is not set
329 # CT_LIBC_V_0_9_30 is not set
330 # CT_LIBC_V_0_9_29 is not set
331 # CT_LIBC_V_0_9_28_3 is not set
332 # CT_LIBC_V_snapshot is not set
333 CT_LIBC_V_specific_date=y
334 CT_LIBC_UCLIBC_0_9_30_or_later=y
335 CT_LIBC_UCLIBC_PARALLEL=y
336 CT_LIBC_UCLIBC_VERBOSITY_0=y
337 # CT_LIBC_UCLIBC_VERBOSITY_1 is not set
338 CT_LIBC_UCLIBC_VERBOSITY=""
339 CT_LIBC_UCLIBC_DEBUG_LEVEL_0=y
340 # CT_LIBC_UCLIBC_DEBUG_LEVEL_1 is not set
341 # CT_LIBC_UCLIBC_DEBUG_LEVEL_2 is not set
342 CT_LIBC_UCLIBC_DEBUG_LEVEL=0
343 # CT_LIBC_UCLIBC_BUILD_CROSS_LDD is not set
344 CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config"
345 # CT_LIBC_UCLIBC_LOCALES is not set
346 # CT_LIBC_UCLIBC_WCHAR is not set
347 CT_LIBC_SUPPORT_NPTL=y
348 CT_LIBC_SUPPORT_LINUXTHREADS=y
352 # Common C library options
355 # CT_THREADS_LINUXTHREADS is not set
356 # CT_THREADS_NONE is not set
359 # uClibc other options
361 CT_LIBC_UCLIBC_LNXTHRD=""
366 # CT_DEBUG_dmalloc is not set
367 # CT_DMALLOC_V_5_5_2 is not set
368 # CT_DEBUG_duma is not set
369 # CT_DUMA_V_2_5_15 is not set
370 # CT_DUMA_V_2_5_14 is not set
371 # CT_DUMA_V_2_5_12 is not set
372 # CT_DUMA_V_2_5_8 is not set
373 # CT_DUMA_V_2_5_1 is not set
374 # CT_DEBUG_gdb is not set
375 # CT_GDB_V_7_1 is not set
376 # CT_GDB_V_7_0_1 is not set
377 # CT_GDB_V_7_0 is not set
378 # CT_GDB_V_6_8 is not set
379 # CT_DEBUG_ltrace is not set
380 # CT_LTRACE_V_0_5_3 is not set
381 # CT_LTRACE_V_0_5_2 is not set
382 # CT_LTRACE_V_0_5 is not set
383 # CT_LTRACE_V_0_4 is not set
384 # CT_DEBUG_strace is not set
385 # CT_STRACE_V_4_5_20 is not set
386 # CT_STRACE_V_4_5_19 is not set
387 # CT_STRACE_V_4_5_18 is not set
388 # CT_STRACE_V_4_5_17 is not set
389 # CT_STRACE_V_4_5_16 is not set
390 # CT_STRACE_V_4_5_15 is not set
393 # Companion libraries
397 # FIXME: check real dependencies!!!
400 # CT_WRAPPER_NEEDED is not set
405 # CT_GMP_V_5_0_1 is not set
407 # CT_GMP_V_4_3_1 is not set
408 # CT_GMP_V_4_3_0 is not set
409 # CT_GMP_V_4_2_4 is not set
410 # CT_GMP_V_4_2_2 is not set
411 CT_GMP_VERSION="4.3.2"
412 # CT_MPFR_V_3_0_0 is not set
414 # CT_MPFR_V_2_4_1 is not set
415 # CT_MPFR_V_2_4_0 is not set
416 # CT_MPFR_V_2_3_2 is not set
417 # CT_MPFR_V_2_3_1 is not set
418 CT_MPFR_VERSION="2.4.2"
420 CT_PPL_VERSION="0.10.2"
422 # CT_CLOOG_V_0_15_8 is not set
423 # CT_CLOOG_V_0_15_7 is not set
424 # CT_CLOOG_V_0_15_6 is not set
425 # CT_CLOOG_V_0_15_5 is not set
426 # CT_CLOOG_V_0_15_4 is not set
427 # CT_CLOOG_V_0_15_3 is not set
428 CT_CLOOG_VERSION="0.15.9"
429 # CT_LIBELF_V_0_8_13 is not set
430 # CT_LIBELF_V_0_8_12 is not set
433 # Companion libraries common options
435 # CT_COMPLIBS_CHECK is not set
436 # CT_COMPLIBS_SHARED is not set
443 # READ HELP before you say 'Y' below !!!
445 # CT_COMP_TOOLS is not set
450 # CT_TEST_SUITE is not set
451 # CT_TEST_SUITE_GCC is not set