config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Sep 15 12:08:01 2008 +0000 (2008-09-15)
changeset 856 8d23dc29eb7d
parent 847 af75fc1fe0fc
child 858 e815b1a5057c
permissions -rw-r--r--
Code-reorder in the Linux kernel config options.

/trunk/config/kernel/linux.in | 32 15 17 0 +++++++++++++++-----------------
1 file changed, 15 insertions(+), 17 deletions(-)
     1 # Linux kernel options
     2 
     3 choice
     4     bool
     5     prompt "Get kernel headers from:"
     6 
     7 config KERNEL_LINUX_HEADERS_INSTALL
     8     bool
     9     prompt "kernel's 'headers_install'"
    10     help
    11       This will make use of the new headers_install rule in recent kernels.
    12       This is most probably what you want to use.
    13 
    14 config KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR
    15     bool
    16     prompt "Use custom directory"
    17     help
    18       If you have some kernel headers lying around, you can enter the path
    19       below.
    20 
    21 endchoice
    22 
    23 if KERNEL_LINUX_HEADERS_INSTALL
    24 
    25 config KERNEL_VERSION_SEE_EXTRAVERSION
    26     bool
    27     prompt "See extra versions"
    28     default n
    29     depends on KERNEL_LINUX_HEADERS_COPY || KERNEL_LINUX_HEADERS_INSTALL
    30     help
    31       See extra versions (kernel with 4 numbers, eg 2.6.19.1).
    32        
    33       If you say 'no', you'll only see sub-level, 3-digit versions.
    34       If you say 'yes', you'll see far more versions!
    35        
    36       It is recommended that you say 'no', unless you _*know*_
    37       that an extra version fixes a headers bug.
    38 
    39 source config/kernel/linux_headers_install.in
    40 
    41 choice
    42     bool
    43     prompt "Kernel verbosity:"
    44     default KERNEL_LINUX_VERBOSITY_0
    45 
    46 config KERNEL_LINUX_VERBOSITY_0
    47     bool
    48     prompt "Simplified"
    49     help
    50       Print simplified command lines.
    51 
    52 config KERNEL_LINUX_VERBOSITY_1
    53     bool
    54     prompt "Full commands"
    55     help
    56       Print full command lines.
    57 
    58 config KERNEL_LINUX_VERBOSITY_2
    59     bool
    60     prompt "Exec reasons"
    61     help
    62       Print the reasons why a make target is rebuild.
    63 
    64 endchoice
    65 
    66 config KERNEL_LINUX_VERBOSE_LEVEL
    67     int
    68     default 0 if KERNEL_LINUX_VERBOSITY_0
    69     default 1 if KERNEL_LINUX_VERBOSITY_1
    70     default 2 if KERNEL_LINUX_VERBOSITY_2
    71 
    72 endif
    73 
    74 config KERNEL_LINUX_HEADERS_CUSTOM_DIR
    75     string
    76     prompt "Where are those custom headers?"
    77     depends on KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR
    78     help
    79       Enter the base directory where the headers are to be found.
    80       
    81       Eg. if the headers are in /some/place/include, then enter /some/place.
    82           This is the same path you entered when you typed:
    83             make INSTALL_HDR_PATH=/some/place headers_install