.hgignore
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Tue Oct 16 20:57:44 2012 +0200 (2012-10-16)
changeset 3079 37831a33e07e
parent 2836 1c4f3be68a6d
permissions -rw-r--r--
kernel/linux: fix using custom location

Currently, extract and patch are skipped as thus:
- using a custom directory of pre-installed headers
- a correctly named directory already exists

Otherwise, extract and patch are done.

The current second condition is wrong, because it allows the following
sequence to happen:
- a non-custom kernel is used
- a previous build only partially extracted the non-custom sources
- that p[revious build broke during extraction (eg. incomplete tarball...)
- a subsequent build will find a properly named directory, and will
thus skip extract and patch, which is wrong

Fix that by following the conditions in this table:

Type | Extract | Patch
----------------------+---------+-------
Pre-installed headers | N | N
custom directory | N | N
custom tarball | Y | N
mainstream tarball | Y | Y

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: David Holsgrove <david.holsgrove@xilinx.com>
     1 syntax: glob
     2 
     3 # Generated files
     4 configure
     5 autom4te.cache
     6 config.log
     7 config.status
     8 Makefile
     9 *ct-ng*
    10 docs/*ct-ng*.1
    11 docs/*ct-ng*.1.gz
    12 paths.mk
    13 paths.sh
    14 scripts/crosstool-NG.sh
    15 scripts/saveSample.sh
    16 scripts/showTuple.sh
    17 kconfig/conf
    18 kconfig/?conf
    19 kconfig/**.o
    20 kconfig/**.dep
    21 kconfig/lex.backup
    22 kconfig/lex.zconf.c
    23 kconfig/zconf.hash.c
    24 kconfig/zconf.tab.c
    25 config/configure.in
    26 config.gen/
    27 .config
    28 .config.2
    29 
    30 # Temporaries
    31 .*.swp
    32 build.log
    33 .config.old
    34 
    35 # This is the place where toolchains are built
    36 .build/
    37 # .. and the legacy location
    38 targets/