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