config/kernel/linux.in.2
author "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
Fri Jul 29 13:04:49 2011 +0200 (2011-07-29)
changeset 2574 6e1412ba8da9
parent 2420 f5969ca41691
child 2603 461b9c476104
permissions -rw-r--r--
scripts/functions: force extract folder to archive basename

Some archives like those of the 2011.07 revisions of Linaro GCC contain a folder
name different from the archive basename, which leads to errors afterwards, e.g.
when patching. E.g.:
gcc-linaro-4.5-2011.07.tar.bz2 extracts to gcc-linaro-4.5-2011.07-0/

This patch changes CT_Extract() to force the extraction of all archives to a
folder named like the archive basename. E.g.:
gcc-linaro-4.5-2011.07.tar.bz2 now extracts to gcc-linaro-4.5-2011.07/

Signed-off-by: "Benoît THÉBAUDEAU" <benoit.thebaudeau@advansee.com>
yann@448
     1
# Linux kernel options
yann@448
     2
yann@1345
     3
if KERNEL_LINUX_INSTALL
yann@1345
     4
yann@1345
     5
choice
yann@1345
     6
    bool
yann@1345
     7
    prompt "Kernel verbosity:"
yann@1345
     8
    default KERNEL_LINUX_VERBOSITY_0
yann@1345
     9
yann@1345
    10
config KERNEL_LINUX_VERBOSITY_0
yann@1345
    11
    bool
yann@1345
    12
    prompt "Simplified"
yann@1345
    13
    help
yann@1345
    14
      Print simplified command lines.
yann@1345
    15
yann@1345
    16
config KERNEL_LINUX_VERBOSITY_1
yann@1345
    17
    bool
yann@1345
    18
    prompt "Full commands"
yann@1345
    19
    help
yann@1345
    20
      Print full command lines.
yann@1345
    21
yann@1345
    22
config KERNEL_LINUX_VERBOSITY_2
yann@1345
    23
    bool
yann@1345
    24
    prompt "Exec reasons"
yann@1345
    25
    help
yann@1345
    26
      Print the reasons why a make target is rebuild.
yann@1345
    27
yann@1345
    28
endchoice
yann@1345
    29
yann@1345
    30
config KERNEL_LINUX_VERBOSE_LEVEL
yann@1345
    31
    int
yann@1345
    32
    default 0 if KERNEL_LINUX_VERBOSITY_0
yann@1345
    33
    default 1 if KERNEL_LINUX_VERBOSITY_1
yann@1345
    34
    default 2 if KERNEL_LINUX_VERBOSITY_2
yann@1345
    35
yann@1989
    36
config KERNEL_LINUX_INSTALL_CHECK
yann@1989
    37
    bool
yann@1989
    38
    prompt "Check installed headers"
yann@1989
    39
    default y
yann@1989
    40
    help
yann@1989
    41
      If you are in doubt that installed headers are buggy, say 'Y'
yann@1989
    42
      here to have an extra check passed onto the headers.
yann@1989
    43
yann@1989
    44
endif # KERNEL_LINUX_INSTALL