config/kernel_linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Mar 12 18:59:31 2007 +0000 (2007-03-12)
changeset 19 d80e6dedcc13
child 37 21bcbfde8094
permissions -rw-r--r--
Auto-detect Darwin (MacOS-X) and disable libintl for during build for this platform.
A bit of help tweaking.
     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_SANITISED
    15     bool
    16     prompt "Mazur's sanitized headers (OBSOLETE)"
    17     help
    18       M. Mazur used to maintain a tree of sanitised headers, but it is now
    19       obsoleted by the headers_install rule (above), and has not seen eny
    20       update since 2.6.12
    21 
    22 config KERNEL_LINUX_HEADERS_COPY
    23     bool
    24     prompt "pure kernel headers (NOT RECOMMENDED)"
    25     help
    26       This will simply copy the kernel headers to the toolchain.
    27 
    28       You do NOT want this. It's badly broken because it leaks kernel internals
    29       to userspace.
    30 
    31 endchoice
    32 
    33 config KERNEL
    34     string
    35     default "linux" if KERNEL_LINUX_HEADERS_INSTALL || KERNEL_LINUX_HEADERS_COPY
    36     default "linux-libc-headers" if KERNEL_LINUX_HEADERS_SANITISED
    37 
    38 config KERNEL_VERSION_SEE_EXTRAVERSION
    39     bool
    40     prompt "See extra versions"
    41     default n
    42     depends on ! KERNEL_LINUX_HEADERS_SANITISED
    43     help
    44       See extra versions (kernel with 4 numbers, eg 2.6.19.1).
    45 
    46       If you say 'no', you'll only see sub-level, 3-digit versions.
    47       If you say 'yes', you'll see far more versions!
    48 
    49       It is recommended that you say 'no', unless you _*know*_
    50       that an extra version fixes a headers bug.
    51 
    52 if KERNEL_LINUX_HEADERS_INSTALL
    53 source config/kernel_linux_headers_install.in
    54 endif
    55 
    56 if KERNEL_LINUX_HEADERS_COPY
    57 source config/kernel_linux_headers_copy.in
    58 endif
    59 
    60 if KERNEL_LINUX_HEADERS_SANITISED
    61 source config/kernel_linux_headers_sanitised.in
    62 endif
    63 
    64 choice
    65     bool
    66     prompt "Kernel verbosity:"
    67     default KERNEL_LINUX_VERBOSITY_0
    68 
    69 config KERNEL_LINUX_VERBOSITY_0
    70     bool
    71     prompt "Simplified"
    72     help
    73       Print simplified command lines.
    74 
    75 config KERNEL_LINUX_VERBOSITY_1
    76     bool
    77     prompt "Full commands"
    78     help
    79       Print full command lines.
    80 
    81 config KERNEL_LINUX_VERBOSITY_2
    82     bool
    83     prompt "Exec reasons"
    84     help
    85       Print the reasons why a make target is rebuild.
    86 
    87 endchoice
    88 
    89 config KERNEL_LINUX_VERBOSE_LEVEL
    90     int
    91     default 0 if KERNEL_LINUX_VERBOSITY_0
    92     default 1 if KERNEL_LINUX_VERBOSITY_1
    93     default 2 if KERNEL_LINUX_VERBOSITY_2
    94 
    95 config KERNEL_LINUX_CONFIG_FILE
    96     string
    97     prompt "Configuration file"
    98     default ""
    99     help
   100       Path to the kernel configuration file.
   101       
   102       You _must_ provide one (for now).