config/kernel/kernel_linux.in
changeset 446 d205527c5e01
parent 66 c77d59891a0d
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/config/kernel/kernel_linux.in	Thu Apr 17 20:26:25 2008 +0000
     1.3 @@ -0,0 +1,134 @@
     1.4 +# Linux kernel options
     1.5 +
     1.6 +choice
     1.7 +    bool
     1.8 +    prompt "Get kernel headers from:"
     1.9 +
    1.10 +config KERNEL_LINUX_HEADERS_INSTALL
    1.11 +    bool
    1.12 +    prompt "kernel's 'headers_install'"
    1.13 +    help
    1.14 +      This will make use of the new headers_install rule in recent kernels.
    1.15 +      This is most probably what you want to use.
    1.16 +
    1.17 +config KERNEL_LINUX_HEADERS_SANITISED
    1.18 +    bool
    1.19 +    prompt "Mazur's sanitized headers (OBSOLETE)"
    1.20 +    depends on OBSOLETE
    1.21 +    select KERNEL_LINUX_NEEDS_CONFIG
    1.22 +    help
    1.23 +      M. Mazur used to maintain a tree of sanitised headers, but it is now
    1.24 +      obsoleted by the headers_install rule (above), and has not seen any
    1.25 +      update since 2.6.12
    1.26 +
    1.27 +config KERNEL_LINUX_HEADERS_COPY
    1.28 +    bool
    1.29 +    prompt "pure kernel headers (REALLY OBSOLETE)"
    1.30 +    depends on OBSOLETE
    1.31 +    select KERNEL_LINUX_NEEDS_CONFIG
    1.32 +    help
    1.33 +      This will simply copy the kernel headers to the toolchain.
    1.34 +
    1.35 +      You do NOT want this. It's badly broken because it leaks kernel internals
    1.36 +      to userspace.
    1.37 +
    1.38 +config KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR
    1.39 +    bool
    1.40 +    prompt "Use custom directory"
    1.41 +    help
    1.42 +      If you have some kernel headers lying around, you can enter the path
    1.43 +      below.
    1.44 +
    1.45 +endchoice
    1.46 +
    1.47 +config KERNEL
    1.48 +    string
    1.49 +    default "linux" if ! KERNEL_LINUX_HEADERS_SANITISED
    1.50 +    default "linux-libc-headers" if KERNEL_LINUX_HEADERS_SANITISED
    1.51 +
    1.52 +config KERNEL_VERSION_SEE_EXTRAVERSION
    1.53 +    bool
    1.54 +    prompt "See extra versions"
    1.55 +    default n
    1.56 +    depends on KERNEL_LINUX_HEADERS_COPY || KERNEL_LINUX_HEADERS_INSTALL
    1.57 +    help
    1.58 +      See extra versions (kernel with 4 numbers, eg 2.6.19.1).
    1.59 +
    1.60 +      If you say 'no', you'll only see sub-level, 3-digit versions.
    1.61 +      If you say 'yes', you'll see far more versions!
    1.62 +
    1.63 +      It is recommended that you say 'no', unless you _*know*_
    1.64 +      that an extra version fixes a headers bug.
    1.65 +
    1.66 +if KERNEL_LINUX_HEADERS_INSTALL
    1.67 +source config/kernel/kernel_linux_headers_install.in
    1.68 +endif
    1.69 +
    1.70 +if KERNEL_LINUX_HEADERS_COPY
    1.71 +source config/kernel/kernel_linux_headers_copy.in
    1.72 +endif
    1.73 +
    1.74 +if KERNEL_LINUX_HEADERS_SANITISED
    1.75 +source config/kernel/kernel_linux_headers_sanitised.in
    1.76 +endif
    1.77 +
    1.78 +config KERNEL_LINUX_HEADERS_CUSTOM_DIR
    1.79 +    string
    1.80 +    prompt "Where are those custom headers?"
    1.81 +    depends on KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR
    1.82 +    help
    1.83 +      Enter the base directory where the headers are to be found.
    1.84 +      
    1.85 +      Eg. if the headers are in /some/place/include, then enter /some/place.
    1.86 +          This is the same path you entered when you typed:
    1.87 +            make INSTALL_HDR_PATH=/some/place headers_install
    1.88 +
    1.89 +if ! KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR
    1.90 +
    1.91 +choice
    1.92 +    bool
    1.93 +    prompt "Kernel verbosity:"
    1.94 +    default KERNEL_LINUX_VERBOSITY_0
    1.95 +
    1.96 +config KERNEL_LINUX_VERBOSITY_0
    1.97 +    bool
    1.98 +    prompt "Simplified"
    1.99 +    help
   1.100 +      Print simplified command lines.
   1.101 +
   1.102 +config KERNEL_LINUX_VERBOSITY_1
   1.103 +    bool
   1.104 +    prompt "Full commands"
   1.105 +    help
   1.106 +      Print full command lines.
   1.107 +
   1.108 +config KERNEL_LINUX_VERBOSITY_2
   1.109 +    bool
   1.110 +    prompt "Exec reasons"
   1.111 +    help
   1.112 +      Print the reasons why a make target is rebuild.
   1.113 +
   1.114 +endchoice
   1.115 +
   1.116 +config KERNEL_LINUX_VERBOSE_LEVEL
   1.117 +    int
   1.118 +    default 0 if KERNEL_LINUX_VERBOSITY_0
   1.119 +    default 1 if KERNEL_LINUX_VERBOSITY_1
   1.120 +    default 2 if KERNEL_LINUX_VERBOSITY_2
   1.121 +
   1.122 +config KERNEL_LINUX_NEEDS_CONFIG
   1.123 +    bool
   1.124 +    default n
   1.125 +
   1.126 +config KERNEL_LINUX_CONFIG_FILE
   1.127 +    string
   1.128 +    prompt "Configuration file"
   1.129 +    depends on KERNEL_LINUX_NEEDS_CONFIG
   1.130 +    default ""
   1.131 +    help
   1.132 +      Path to a kernel configuration file.
   1.133 +      
   1.134 +      If you don't provide one, then the default configuration for
   1.135 +      your target will be used.
   1.136 +
   1.137 +endif