config/kernel/linux.in
branchgcc-4.4
changeset 1382 b3b1369752ba
parent 1337 7f742f73c2d1
child 1350 29cdf662fad4
     1.1 --- a/config/kernel/linux.in	Wed May 13 20:55:15 2009 +0000
     1.2 +++ b/config/kernel/linux.in	Mon May 25 17:22:54 2009 +0000
     1.3 @@ -1,6 +1,255 @@
     1.4 +# Linux kernel options
     1.5 +
     1.6  # Linux kernel options
     1.7  
     1.8  config KERNEL_linux
     1.9      help
    1.10        Build a toolchain targeting systems running Linux as a kernel.
    1.11  
    1.12 +choice
    1.13 +    bool
    1.14 +    prompt "Get kernel headers from:"
    1.15 +
    1.16 +config KERNEL_LINUX_INSTALL
    1.17 +    bool
    1.18 +    prompt "kernel's 'headers_install'"
    1.19 +    help
    1.20 +      This will make use of the new headers_install rule in recent kernels.
    1.21 +      This is most probably what you want to use.
    1.22 +
    1.23 +if KERNEL_LINUX_INSTALL
    1.24 +
    1.25 +config KERNEL_LINUX_INSTALL_CHECK
    1.26 +    bool
    1.27 +    prompt "Check installed headers"
    1.28 +    default y
    1.29 +    help
    1.30 +      If you are in doubt that installed headers are buggy, say 'Y'
    1.31 +      here to have an extra check passed onto the headers.
    1.32 +
    1.33 +choice
    1.34 +    bool
    1.35 +    prompt "Linux kernel version"
    1.36 +
    1.37 +config KERNEL_V_2_6_18_8
    1.38 +    bool
    1.39 +    prompt "2.6.18.8 (OBSOLETE)"
    1.40 +    depends on OBSOLETE
    1.41 +
    1.42 +config KERNEL_V_2_6_19_7
    1.43 +    bool
    1.44 +    prompt "2.6.19.7 (OBSOLETE)"
    1.45 +    depends on OBSOLETE
    1.46 +
    1.47 +config KERNEL_V_2_6_20_21
    1.48 +    bool
    1.49 +    prompt "2.6.20.21 (OBSOLETE)"
    1.50 +    depends on OBSOLETE
    1.51 +
    1.52 +config KERNEL_V_2_6_21_7
    1.53 +    bool
    1.54 +    prompt "2.6.21.7 (OBSOLETE)"
    1.55 +    depends on OBSOLETE
    1.56 +
    1.57 +config KERNEL_V_2_6_22_19
    1.58 +    bool
    1.59 +    prompt "2.6.22.19 (OBSOLETE)"
    1.60 +    depends on OBSOLETE
    1.61 +
    1.62 +config KERNEL_V_2_6_23_17
    1.63 +    bool
    1.64 +    prompt "2.6.23.17 (OBSOLETE)"
    1.65 +    depends on OBSOLETE
    1.66 +
    1.67 +config KERNEL_V_2_6_24_7
    1.68 +    bool
    1.69 +    prompt "2.6.24.7 (OBSOLETE)"
    1.70 +    depends on OBSOLETE
    1.71 +
    1.72 +config KERNEL_V_2_6_25_20
    1.73 +    bool
    1.74 +    prompt "2.6.25.20 (OBSOLETE)"
    1.75 +    depends on OBSOLETE
    1.76 +
    1.77 +config KERNEL_V_2_6_26_8
    1.78 +    bool
    1.79 +    prompt "2.6.26.8 (OBSOLETE)"
    1.80 +    depends on OBSOLETE
    1.81 +
    1.82 +config KERNEL_V_2_6_27_22
    1.83 +    bool
    1.84 +    prompt "2.6.27.22 (OBSOLETE)"
    1.85 +    depends on OBSOLETE
    1.86 +
    1.87 +config KERNEL_V_2_6_28
    1.88 +    bool
    1.89 +    prompt "2.6.28"
    1.90 +
    1.91 +config KERNEL_V_2_6_28_1
    1.92 +    bool
    1.93 +    prompt "2.6.28.1"
    1.94 +
    1.95 +config KERNEL_V_2_6_28_2
    1.96 +    bool
    1.97 +    prompt "2.6.28.2"
    1.98 +
    1.99 +config KERNEL_V_2_6_28_3
   1.100 +    bool
   1.101 +    prompt "2.6.28.3"
   1.102 +
   1.103 +config KERNEL_V_2_6_28_4
   1.104 +    bool
   1.105 +    prompt "2.6.28.4"
   1.106 +
   1.107 +config KERNEL_V_2_6_28_5
   1.108 +    bool
   1.109 +    prompt "2.6.28.5"
   1.110 +
   1.111 +config KERNEL_V_2_6_28_6
   1.112 +    bool
   1.113 +    prompt "2.6.28.6"
   1.114 +
   1.115 +config KERNEL_V_2_6_28_7
   1.116 +    bool
   1.117 +    prompt "2.6.28.7"
   1.118 +
   1.119 +config KERNEL_V_2_6_28_8
   1.120 +    bool
   1.121 +    prompt "2.6.28.8"
   1.122 +
   1.123 +config KERNEL_V_2_6_28_9
   1.124 +    bool
   1.125 +    prompt "2.6.28.9"
   1.126 +
   1.127 +config KERNEL_V_2_6_28_10
   1.128 +    bool
   1.129 +    prompt "2.6.28.10"
   1.130 +
   1.131 +config KERNEL_V_2_6_29
   1.132 +    bool
   1.133 +    prompt "2.6.29"
   1.134 +
   1.135 +config KERNEL_V_2_6_29_1
   1.136 +    bool
   1.137 +    prompt "2.6.29.1"
   1.138 +
   1.139 +config KERNEL_V_2_6_29_2
   1.140 +    bool
   1.141 +    prompt "2.6.29.2"
   1.142 +
   1.143 +# CT_INSERT_VERSION_ABOVE
   1.144 +# Don't remove above line!
   1.145 +
   1.146 +config KERNEL_V_select
   1.147 +    bool
   1.148 +    prompt "Other version (EXPERIMENTAL)"
   1.149 +    depends on EXPERIMENTAL
   1.150 +
   1.151 +endchoice
   1.152 +
   1.153 +config KERNEL_VERSION
   1.154 +    string
   1.155 +    prompt "Kernel version" if KERNEL_V_select
   1.156 +    default "2.6.18.8" if KERNEL_V_2_6_18_8
   1.157 +    default "2.6.19.7" if KERNEL_V_2_6_19_7
   1.158 +    default "2.6.20.21" if KERNEL_V_2_6_20_21
   1.159 +    default "2.6.21.7" if KERNEL_V_2_6_21_7
   1.160 +    default "2.6.22.19" if KERNEL_V_2_6_22_19
   1.161 +    default "2.6.23.17" if KERNEL_V_2_6_23_17
   1.162 +    default "2.6.24.7" if KERNEL_V_2_6_24_7
   1.163 +    default "2.6.25.20" if KERNEL_V_2_6_25_20
   1.164 +    default "2.6.26.8" if KERNEL_V_2_6_26_8
   1.165 +    default "2.6.27.22" if KERNEL_V_2_6_27_22
   1.166 +    default "2.6.28" if KERNEL_V_2_6_28
   1.167 +    default "2.6.28.1" if KERNEL_V_2_6_28_1
   1.168 +    default "2.6.28.2" if KERNEL_V_2_6_28_2
   1.169 +    default "2.6.28.3" if KERNEL_V_2_6_28_3
   1.170 +    default "2.6.28.4" if KERNEL_V_2_6_28_4
   1.171 +    default "2.6.28.5" if KERNEL_V_2_6_28_5
   1.172 +    default "2.6.28.6" if KERNEL_V_2_6_28_6
   1.173 +    default "2.6.28.7" if KERNEL_V_2_6_28_7
   1.174 +    default "2.6.28.8" if KERNEL_V_2_6_28_8
   1.175 +    default "2.6.28.9" if KERNEL_V_2_6_28_9
   1.176 +    default "2.6.28.10" if KERNEL_V_2_6_28_10
   1.177 +    default "2.6.29" if KERNEL_V_2_6_29
   1.178 +    default "2.6.29.1" if KERNEL_V_2_6_29_1
   1.179 +    default "2.6.29.2" if KERNEL_V_2_6_29_2
   1.180 +# CT_INSERT_VERSION_STRING_ABOVE
   1.181 +# Don't remove above line!
   1.182 +    help
   1.183 +      Enter here the kernel version you want to use, if it is
   1.184 +      not listed above. Something like V.P.S or V.P.S.E, where:
   1.185 +        V: VERSION
   1.186 +        P: PATCHLEVEL
   1.187 +        S: SUBLEVEL
   1.188 +        E: EXTRAVERSION
   1.189 +
   1.190 +choice
   1.191 +    bool
   1.192 +    prompt "Kernel verbosity:"
   1.193 +    default KERNEL_LINUX_VERBOSITY_0
   1.194 +
   1.195 +config KERNEL_LINUX_VERBOSITY_0
   1.196 +    bool
   1.197 +    prompt "Simplified"
   1.198 +    help
   1.199 +      Print simplified command lines.
   1.200 +
   1.201 +config KERNEL_LINUX_VERBOSITY_1
   1.202 +    bool
   1.203 +    prompt "Full commands"
   1.204 +    help
   1.205 +      Print full command lines.
   1.206 +
   1.207 +config KERNEL_LINUX_VERBOSITY_2
   1.208 +    bool
   1.209 +    prompt "Exec reasons"
   1.210 +    help
   1.211 +      Print the reasons why a make target is rebuild.
   1.212 +
   1.213 +endchoice
   1.214 +
   1.215 +config KERNEL_LINUX_VERBOSE_LEVEL
   1.216 +    int
   1.217 +    default 0 if KERNEL_LINUX_VERBOSITY_0
   1.218 +    default 1 if KERNEL_LINUX_VERBOSITY_1
   1.219 +    default 2 if KERNEL_LINUX_VERBOSITY_2
   1.220 +
   1.221 +endif
   1.222 +
   1.223 +config KERNEL_LINUX_USE_CUSTOM_HEADERS
   1.224 +    bool
   1.225 +    prompt "Use custom headers"
   1.226 +    help
   1.227 +      If you have some kernel headers lying around, you can enter the path
   1.228 +      below.
   1.229 +
   1.230 +if KERNEL_LINUX_USE_CUSTOM_HEADERS
   1.231 +
   1.232 +config KERNEL_LINUX_CUSTOM_IS_TARBALL
   1.233 +    bool
   1.234 +    prompt "This is a tarball"
   1.235 +    default n
   1.236 +    help
   1.237 +      If you say 'n' here, the path below is expected to point to a directory
   1.238 +      containing readily prepared headers
   1.239 +      
   1.240 +      If you say 'y' here, then the path below is expected to point to a
   1.241 +      tarball of such a directory.
   1.242 +      
   1.243 +      Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   1.244 +      say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   1.245 +      
   1.246 +      Now, passing a tarball around is easier than passing a directory, so
   1.247 +      if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   1.248 +      say 'y' here, and enter the path to this tarball below.
   1.249 +
   1.250 +config KERNEL_LINUX_CUSTOM_PATH
   1.251 +    string
   1.252 +    prompt "Path to custom headers directory/tarball"
   1.253 +    help
   1.254 +      See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   1.255 +
   1.256 +endif # KERNEL_LINUX_USE_CUSTOM_DIR
   1.257 +
   1.258 +endchoice