.hgignore
author Johannes Stezenbach <js@sig21.net>
Thu Jul 29 19:30:37 2010 +0200 (2010-07-29)
changeset 2044 20dd8cef1c8a
child 2133 804a8f6d286a
permissions -rw-r--r--
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>
     1 syntax: glob
     2 
     3 # Generated files
     4 Makefile
     5 ct-ng
     6 docs/ct-ng.1
     7 docs/ct-ng.1.gz
     8 paths.mk
     9 scripts/crosstool-NG.sh
    10 scripts/saveSample.sh
    11 scripts/showTuple.sh
    12 
    13 # Temporaries
    14 .*.swp
    15 log.*
    16 
    17 # Working files
    18 kconfig/conf
    19 kconfig/mconf
    20 kconfig/**.o
    21 kconfig/**.dep
    22 config.gen/
    23 .config
    24 .config.old
    25 targets/