config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Apr 01 20:58:35 2009 +0000 (2009-04-01)
changeset 1284 71ee86230f42
parent 1275 cbfe92452378
child 1289 d8d16063c9f4
permissions -rw-r--r--
Allow user to select a non-listed Linux kernel version, as suggested
by Stefan Hallas Andersen <stefande@cisco.com>

/trunk/config/kernel/linux.in | 14 14 0 0 ++++++++++++++
1 file changed, 14 insertions(+)
     1 # Linux kernel options
     2 
     3 config KERNEL_linux
     4     help
     5       Build a toolchain targeting systems running Linux as a kernel.
     6 
     7 choice
     8     bool
     9     prompt "Get kernel headers from:"
    10 
    11 config KERNEL_LINUX_INSTALL
    12     bool
    13     prompt "kernel's 'headers_install'"
    14     help
    15       This will make use of the new headers_install rule in recent kernels.
    16       This is most probably what you want to use.
    17 
    18 if KERNEL_LINUX_INSTALL
    19 
    20 config KERNEL_LINUX_INSTALL_CHECK
    21     bool
    22     prompt "Check installed headers"
    23     default y
    24     help
    25       If you are in doubt that installed headers are buggy, say 'Y'
    26       here to have an extra check passed onto the headers.
    27 
    28 choice
    29     bool
    30     prompt "Linux kernel version"
    31 
    32 config KERNEL_V_2_6_18_8
    33     bool
    34     prompt "2.6.18.8 (OBSOLETE)"
    35     depends on OBSOLETE
    36 
    37 config KERNEL_V_2_6_19_7
    38     bool
    39     prompt "2.6.19.7 (OBSOLETE)"
    40     depends on OBSOLETE
    41 
    42 config KERNEL_V_2_6_20_21
    43     bool
    44     prompt "2.6.20.21 (OBSOLETE)"
    45     depends on OBSOLETE
    46 
    47 config KERNEL_V_2_6_21_7
    48     bool
    49     prompt "2.6.21.7 (OBSOLETE)"
    50     depends on OBSOLETE
    51 
    52 config KERNEL_V_2_6_22_19
    53     bool
    54     prompt "2.6.22.19 (OBSOLETE)"
    55     depends on OBSOLETE
    56 
    57 config KERNEL_V_2_6_23_17
    58     bool
    59     prompt "2.6.23.17 (OBSOLETE)"
    60     depends on OBSOLETE
    61 
    62 config KERNEL_V_2_6_24_7
    63     bool
    64     prompt "2.6.24.7 (OBSOLETE)"
    65     depends on OBSOLETE
    66 
    67 config KERNEL_V_2_6_25_20
    68     bool
    69     prompt "2.6.25.20 (OBSOLETE)"
    70     depends on OBSOLETE
    71 
    72 config KERNEL_V_2_6_26_8
    73     bool
    74     prompt "2.6.26.8 (OBSOLETE)"
    75     depends on OBSOLETE
    76 
    77 config KERNEL_V_2_6_27
    78     bool
    79     prompt "2.6.27"
    80 
    81 config KERNEL_V_2_6_27_1
    82     bool
    83     prompt "2.6.27.1"
    84 
    85 config KERNEL_V_2_6_27_2
    86     bool
    87     prompt "2.6.27.2"
    88 
    89 config KERNEL_V_2_6_27_3
    90     bool
    91     prompt "2.6.27.3"
    92 
    93 config KERNEL_V_2_6_27_4
    94     bool
    95     prompt "2.6.27.4"
    96 
    97 config KERNEL_V_2_6_27_5
    98     bool
    99     prompt "2.6.27.5"
   100 
   101 config KERNEL_V_2_6_27_6
   102     bool
   103     prompt "2.6.27.6"
   104 
   105 config KERNEL_V_2_6_27_7
   106     bool
   107     prompt "2.6.27.7"
   108 
   109 config KERNEL_V_2_6_27_8
   110     bool
   111     prompt "2.6.27.8"
   112 
   113 config KERNEL_V_2_6_27_9
   114     bool
   115     prompt "2.6.27.9"
   116 
   117 config KERNEL_V_2_6_27_10
   118     bool
   119     prompt "2.6.27.10"
   120 
   121 config KERNEL_V_2_6_27_11
   122     bool
   123     prompt "2.6.27.11"
   124 
   125 config KERNEL_V_2_6_27_12
   126     bool
   127     prompt "2.6.27.12"
   128 
   129 config KERNEL_V_2_6_27_13
   130     bool
   131     prompt "2.6.27.13"
   132 
   133 config KERNEL_V_2_6_27_14
   134     bool
   135     prompt "2.6.27.14"
   136 
   137 config KERNEL_V_2_6_27_15
   138     bool
   139     prompt "2.6.27.15"
   140 
   141 config KERNEL_V_2_6_27_16
   142     bool
   143     prompt "2.6.27.16"
   144 
   145 config KERNEL_V_2_6_27_17
   146     bool
   147     prompt "2.6.27.17"
   148 
   149 config KERNEL_V_2_6_27_18
   150     bool
   151     prompt "2.6.27.18"
   152 
   153 config KERNEL_V_2_6_27_19
   154     bool
   155     prompt "2.6.27.19"
   156 
   157 config KERNEL_V_2_6_27_20
   158     bool
   159     prompt "2.6.27.20"
   160 
   161 config KERNEL_V_2_6_27_21
   162     bool
   163     prompt "2.6.27.21"
   164 
   165 config KERNEL_V_2_6_28
   166     bool
   167     prompt "2.6.28"
   168 
   169 config KERNEL_V_2_6_28_1
   170     bool
   171     prompt "2.6.28.1"
   172 
   173 config KERNEL_V_2_6_28_2
   174     bool
   175     prompt "2.6.28.2"
   176 
   177 config KERNEL_V_2_6_28_3
   178     bool
   179     prompt "2.6.28.3"
   180 
   181 config KERNEL_V_2_6_28_4
   182     bool
   183     prompt "2.6.28.4"
   184 
   185 config KERNEL_V_2_6_28_5
   186     bool
   187     prompt "2.6.28.5"
   188 
   189 config KERNEL_V_2_6_28_6
   190     bool
   191     prompt "2.6.28.6"
   192 
   193 config KERNEL_V_2_6_28_7
   194     bool
   195     prompt "2.6.28.7"
   196 
   197 config KERNEL_V_2_6_28_8
   198     bool
   199     prompt "2.6.28.8"
   200 
   201 config KERNEL_V_2_6_28_9
   202     bool
   203     prompt "2.6.28.9"
   204 
   205 config KERNEL_V_2_6_29
   206     bool
   207     prompt "2.6.29"
   208 
   209 # CT_INSERT_VERSION_ABOVE
   210 # Don't remove above line!
   211 
   212 config KERNEL_V_select
   213     bool
   214     prompt "Other version (EXPERIMENTAL)"
   215     depends on EXPERIMENTAL
   216 
   217 endchoice
   218 
   219 config KERNEL_VERSION
   220     string
   221     prompt "Kernel version" if KERNEL_V_select
   222     default "2.6.18.8" if KERNEL_V_2_6_18_8
   223     default "2.6.19.7" if KERNEL_V_2_6_19_7
   224     default "2.6.20.21" if KERNEL_V_2_6_20_21
   225     default "2.6.21.7" if KERNEL_V_2_6_21_7
   226     default "2.6.22.19" if KERNEL_V_2_6_22_19
   227     default "2.6.23.17" if KERNEL_V_2_6_23_17
   228     default "2.6.24.7" if KERNEL_V_2_6_24_7
   229     default "2.6.25.20" if KERNEL_V_2_6_25_20
   230     default "2.6.26.8" if KERNEL_V_2_6_26_8
   231     default "2.6.27" if KERNEL_V_2_6_27
   232     default "2.6.27.1" if KERNEL_V_2_6_27_1
   233     default "2.6.27.2" if KERNEL_V_2_6_27_2
   234     default "2.6.27.3" if KERNEL_V_2_6_27_3
   235     default "2.6.27.4" if KERNEL_V_2_6_27_4
   236     default "2.6.27.5" if KERNEL_V_2_6_27_5
   237     default "2.6.27.6" if KERNEL_V_2_6_27_6
   238     default "2.6.27.7" if KERNEL_V_2_6_27_7
   239     default "2.6.27.8" if KERNEL_V_2_6_27_8
   240     default "2.6.27.9" if KERNEL_V_2_6_27_9
   241     default "2.6.27.10" if KERNEL_V_2_6_27_10
   242     default "2.6.27.11" if KERNEL_V_2_6_27_11
   243     default "2.6.27.12" if KERNEL_V_2_6_27_12
   244     default "2.6.27.13" if KERNEL_V_2_6_27_13
   245     default "2.6.27.14" if KERNEL_V_2_6_27_14
   246     default "2.6.27.15" if KERNEL_V_2_6_27_15
   247     default "2.6.27.16" if KERNEL_V_2_6_27_16
   248     default "2.6.27.17" if KERNEL_V_2_6_27_17
   249     default "2.6.27.18" if KERNEL_V_2_6_27_18
   250     default "2.6.27.19" if KERNEL_V_2_6_27_19
   251     default "2.6.27.20" if KERNEL_V_2_6_27_20
   252     default "2.6.27.21" if KERNEL_V_2_6_27_21
   253     default "2.6.28" if KERNEL_V_2_6_28
   254     default "2.6.28.1" if KERNEL_V_2_6_28_1
   255     default "2.6.28.2" if KERNEL_V_2_6_28_2
   256     default "2.6.28.3" if KERNEL_V_2_6_28_3
   257     default "2.6.28.4" if KERNEL_V_2_6_28_4
   258     default "2.6.28.5" if KERNEL_V_2_6_28_5
   259     default "2.6.28.6" if KERNEL_V_2_6_28_6
   260     default "2.6.28.7" if KERNEL_V_2_6_28_7
   261     default "2.6.28.8" if KERNEL_V_2_6_28_8
   262     default "2.6.28.9" if KERNEL_V_2_6_28_9
   263     default "2.6.29" if KERNEL_V_2_6_29
   264 # CT_INSERT_VERSION_STRING_ABOVE
   265 # Don't remove above line!
   266     help
   267       Enter here the kernel version you want to use, if it is
   268       not listed above. Something like V.P.S or V.P.S.E, where:
   269         V: VERSION
   270         P: PATCHLEVEL
   271         S: SUBLEVEL
   272         E: EXTRAVERSION
   273 
   274 choice
   275     bool
   276     prompt "Kernel verbosity:"
   277     default KERNEL_LINUX_VERBOSITY_0
   278 
   279 config KERNEL_LINUX_VERBOSITY_0
   280     bool
   281     prompt "Simplified"
   282     help
   283       Print simplified command lines.
   284 
   285 config KERNEL_LINUX_VERBOSITY_1
   286     bool
   287     prompt "Full commands"
   288     help
   289       Print full command lines.
   290 
   291 config KERNEL_LINUX_VERBOSITY_2
   292     bool
   293     prompt "Exec reasons"
   294     help
   295       Print the reasons why a make target is rebuild.
   296 
   297 endchoice
   298 
   299 config KERNEL_LINUX_VERBOSE_LEVEL
   300     int
   301     default 0 if KERNEL_LINUX_VERBOSITY_0
   302     default 1 if KERNEL_LINUX_VERBOSITY_1
   303     default 2 if KERNEL_LINUX_VERBOSITY_2
   304 
   305 endif
   306 
   307 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   308     bool
   309     prompt "Use custom headers"
   310     help
   311       If you have some kernel headers lying around, you can enter the path
   312       below.
   313 
   314 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   315 
   316 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   317     bool
   318     prompt "This is a tarball"
   319     default n
   320     help
   321       If you say 'n' here, the path below is expected to point to a directory
   322       containing readily prepared headers
   323       
   324       If you say 'y' here, then the path below is expected to point to a
   325       tarball of such a directory.
   326       
   327       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   328       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   329       
   330       Now, passing a tarball around is easier than passing a directory, so
   331       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   332       say 'y' here, and enter the path to this tarball below.
   333 
   334 config KERNEL_LINUX_CUSTOM_PATH
   335     string
   336     prompt "Path to custom headers directory/tarball"
   337     help
   338       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   339 
   340 endif # KERNEL_LINUX_USE_CUSTOM_DIR
   341 
   342 endchoice