1.1 --- a/config/kernel/linux.in Mon Sep 15 12:08:01 2008 +0000
1.2 +++ b/config/kernel/linux.in Mon Sep 15 14:52:29 2008 +0000
1.3 @@ -4,39 +4,197 @@
1.4 bool
1.5 prompt "Get kernel headers from:"
1.6
1.7 -config KERNEL_LINUX_HEADERS_INSTALL
1.8 +config KERNEL_LINUX_INSTALL
1.9 bool
1.10 prompt "kernel's 'headers_install'"
1.11 help
1.12 This will make use of the new headers_install rule in recent kernels.
1.13 This is most probably what you want to use.
1.14
1.15 -config KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR
1.16 +if KERNEL_LINUX_INSTALL
1.17 +
1.18 +config KERNEL_LINUX_INSTALL_CHECK
1.19 bool
1.20 - prompt "Use custom directory"
1.21 + prompt "Check installed headers"
1.22 + default y
1.23 help
1.24 - If you have some kernel headers lying around, you can enter the path
1.25 - below.
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
1.69 + bool
1.70 + prompt "2.6.25"
1.71 +
1.72 +config KERNEL_V_2_6_25_1
1.73 + bool
1.74 + prompt "2.6.25.1"
1.75 +
1.76 +config KERNEL_V_2_6_25_2
1.77 + bool
1.78 + prompt "2.6.25.2"
1.79 +
1.80 +config KERNEL_V_2_6_25_3
1.81 + bool
1.82 + prompt "2.6.25.3"
1.83 +
1.84 +config KERNEL_V_2_6_25_4
1.85 + bool
1.86 + prompt "2.6.25.4"
1.87 +
1.88 +config KERNEL_V_2_6_25_5
1.89 + bool
1.90 + prompt "2.6.25.5"
1.91 +
1.92 +config KERNEL_V_2_6_25_6
1.93 + bool
1.94 + prompt "2.6.25.6"
1.95 +
1.96 +config KERNEL_V_2_6_25_7
1.97 + bool
1.98 + prompt "2.6.25.7"
1.99 +
1.100 +config KERNEL_V_2_6_25_8
1.101 + bool
1.102 + prompt "2.6.25.8"
1.103 +
1.104 +config KERNEL_V_2_6_25_9
1.105 + bool
1.106 + prompt "2.6.25.9"
1.107 +
1.108 +config KERNEL_V_2_6_25_10
1.109 + bool
1.110 + prompt "2.6.25.10"
1.111 +
1.112 +config KERNEL_V_2_6_25_11
1.113 + bool
1.114 + prompt "2.6.25.11"
1.115 +
1.116 +config KERNEL_V_2_6_25_12
1.117 + bool
1.118 + prompt "2.6.25.12"
1.119 +
1.120 +config KERNEL_V_2_6_25_13
1.121 + bool
1.122 + prompt "2.6.25.13"
1.123 +
1.124 +config KERNEL_V_2_6_25_14
1.125 + bool
1.126 + prompt "2.6.25.14"
1.127 +
1.128 +config KERNEL_V_2_6_25_15
1.129 + bool
1.130 + prompt "2.6.25.15"
1.131 +
1.132 +config KERNEL_V_2_6_25_16
1.133 + bool
1.134 + prompt "2.6.25.16"
1.135 +
1.136 +config KERNEL_V_2_6_25_17
1.137 + bool
1.138 + prompt "2.6.25.17"
1.139 +
1.140 +config KERNEL_V_2_6_26
1.141 + bool
1.142 + prompt "2.6.26"
1.143 +
1.144 +config KERNEL_V_2_6_26_1
1.145 + bool
1.146 + prompt "2.6.26.1"
1.147 +
1.148 +config KERNEL_V_2_6_26_2
1.149 + bool
1.150 + prompt "2.6.26.2"
1.151 +
1.152 +config KERNEL_V_2_6_26_3
1.153 + bool
1.154 + prompt "2.6.26.3"
1.155 +
1.156 +config KERNEL_V_2_6_26_4
1.157 + bool
1.158 + prompt "2.6.26.4"
1.159 +
1.160 +config KERNEL_V_2_6_26_5
1.161 + bool
1.162 + prompt "2.6.26.5"
1.163 +
1.164 +# CT_INSERT_VERSION_ABOVE
1.165 +# Don't remove above line!
1.166 endchoice
1.167
1.168 -if KERNEL_LINUX_HEADERS_INSTALL
1.169 -
1.170 -config KERNEL_VERSION_SEE_EXTRAVERSION
1.171 - bool
1.172 - prompt "See extra versions"
1.173 - default n
1.174 - depends on KERNEL_LINUX_HEADERS_COPY || KERNEL_LINUX_HEADERS_INSTALL
1.175 - help
1.176 - See extra versions (kernel with 4 numbers, eg 2.6.19.1).
1.177 -
1.178 - If you say 'no', you'll only see sub-level, 3-digit versions.
1.179 - If you say 'yes', you'll see far more versions!
1.180 -
1.181 - It is recommended that you say 'no', unless you _*know*_
1.182 - that an extra version fixes a headers bug.
1.183 -
1.184 -source config/kernel/linux_headers_install.in
1.185 +config KERNEL_VERSION
1.186 + string
1.187 + default "2.6.18.8" if KERNEL_V_2_6_18_8
1.188 + default "2.6.19.7" if KERNEL_V_2_6_19_7
1.189 + default "2.6.20.21" if KERNEL_V_2_6_20_21
1.190 + default "2.6.21.7" if KERNEL_V_2_6_21_7
1.191 + default "2.6.22.19" if KERNEL_V_2_6_22_19
1.192 + default "2.6.23.17" if KERNEL_V_2_6_23_17
1.193 + default "2.6.24.7" if KERNEL_V_2_6_24_7
1.194 + default "2.6.25" if KERNEL_V_2_6_25
1.195 + default "2.6.25.1" if KERNEL_V_2_6_25_1
1.196 + default "2.6.25.2" if KERNEL_V_2_6_25_2
1.197 + default "2.6.25.3" if KERNEL_V_2_6_25_3
1.198 + default "2.6.25.4" if KERNEL_V_2_6_25_4
1.199 + default "2.6.25.5" if KERNEL_V_2_6_25_5
1.200 + default "2.6.25.6" if KERNEL_V_2_6_25_6
1.201 + default "2.6.25.7" if KERNEL_V_2_6_25_7
1.202 + default "2.6.25.8" if KERNEL_V_2_6_25_8
1.203 + default "2.6.25.9" if KERNEL_V_2_6_25_9
1.204 + default "2.6.25.10" if KERNEL_V_2_6_25_10
1.205 + default "2.6.25.11" if KERNEL_V_2_6_25_11
1.206 + default "2.6.25.12" if KERNEL_V_2_6_25_12
1.207 + default "2.6.25.13" if KERNEL_V_2_6_25_13
1.208 + default "2.6.25.14" if KERNEL_V_2_6_25_14
1.209 + default "2.6.25.14" if KERNEL_V_2_6_25_15
1.210 + default "2.6.25.15" if KERNEL_V_2_6_25_16
1.211 + default "2.6.25.15" if KERNEL_V_2_6_25_17
1.212 + default "2.6.26" if KERNEL_V_2_6_26
1.213 + default "2.6.26.1" if KERNEL_V_2_6_26_1
1.214 + default "2.6.26.2" if KERNEL_V_2_6_26_2
1.215 + default "2.6.26.3" if KERNEL_V_2_6_26_3
1.216 + default "2.6.26.4" if KERNEL_V_2_6_26_4
1.217 + default "2.6.26.5" if KERNEL_V_2_6_26_5
1.218 +# CT_INSERT_VERSION_STRING_ABOVE
1.219 +# Don't remove above line!
1.220
1.221 choice
1.222 bool
1.223 @@ -71,13 +229,22 @@
1.224
1.225 endif
1.226
1.227 -config KERNEL_LINUX_HEADERS_CUSTOM_DIR
1.228 +config KERNEL_LINUX_USE_CUSTOM_DIR
1.229 + bool
1.230 + prompt "Use custom directory"
1.231 + help
1.232 + If you have some kernel headers lying around, you can enter the path
1.233 + below.
1.234 +
1.235 +config KERNEL_LINUX_CUSTOM_DIR
1.236 string
1.237 prompt "Where are those custom headers?"
1.238 - depends on KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR
1.239 + depends on KERNEL_LINUX_USE_CUSTOM_DIR
1.240 help
1.241 Enter the base directory where the headers are to be found.
1.242
1.243 Eg. if the headers are in /some/place/include, then enter /some/place.
1.244 This is the same path you entered when you typed:
1.245 make INSTALL_HDR_PATH=/some/place headers_install
1.246 +
1.247 +endchoice