config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Sep 12 11:19:30 2009 +0200 (2009-09-12)
changeset 1526 b849649bc89d
parent 1500 f1ee20bc057e
child 1534 d4ddf19a1968
permissions -rw-r--r--
kernel/linux: add latest versions

Add 2.6.27.33 as long-term stable, and 2.6.30.6 and 2.6.31.
     1 # Linux kernel options
     2 
     3 # Linux kernel options
     4 
     5 config KERNEL_linux
     6     select KERNEL_SUPPORTS_SHARED_LIBS
     7     help
     8       Build a toolchain targeting systems running Linux as a kernel.
     9 
    10 choice
    11     bool
    12     prompt "Get kernel headers from:"
    13 
    14 config KERNEL_LINUX_INSTALL
    15     bool
    16     prompt "kernel's 'headers_install'"
    17     help
    18       This will make use of the new headers_install rule in recent kernels.
    19       This is most probably what you want to use.
    20 
    21 if KERNEL_LINUX_INSTALL
    22 
    23 config KERNEL_LINUX_INSTALL_CHECK
    24     bool
    25     prompt "Check installed headers"
    26     default y
    27     help
    28       If you are in doubt that installed headers are buggy, say 'Y'
    29       here to have an extra check passed onto the headers.
    30 
    31 choice
    32     bool
    33     prompt "Linux kernel version"
    34 
    35 config KERNEL_V_2_6_18_8
    36     bool
    37     prompt "2.6.18.8 (OBSOLETE)"
    38     depends on OBSOLETE
    39 
    40 config KERNEL_V_2_6_19_7
    41     bool
    42     prompt "2.6.19.7 (OBSOLETE)"
    43     depends on OBSOLETE
    44 
    45 config KERNEL_V_2_6_20_21
    46     bool
    47     prompt "2.6.20.21 (OBSOLETE)"
    48     depends on OBSOLETE
    49 
    50 config KERNEL_V_2_6_21_7
    51     bool
    52     prompt "2.6.21.7 (OBSOLETE)"
    53     depends on OBSOLETE
    54 
    55 config KERNEL_V_2_6_22_19
    56     bool
    57     prompt "2.6.22.19 (OBSOLETE)"
    58     depends on OBSOLETE
    59 
    60 config KERNEL_V_2_6_23_17
    61     bool
    62     prompt "2.6.23.17 (OBSOLETE)"
    63     depends on OBSOLETE
    64 
    65 config KERNEL_V_2_6_24_7
    66     bool
    67     prompt "2.6.24.7 (OBSOLETE)"
    68     depends on OBSOLETE
    69 
    70 config KERNEL_V_2_6_25_20
    71     bool
    72     prompt "2.6.25.20 (OBSOLETE)"
    73     depends on OBSOLETE
    74 
    75 config KERNEL_V_2_6_26_8
    76     bool
    77     prompt "2.6.26.8 (OBSOLETE)"
    78     depends on OBSOLETE
    79 
    80 config KERNEL_V_2_6_27_33
    81     bool
    82     prompt "2.6.27.33 (long-term stable)"
    83 
    84 config KERNEL_V_2_6_28_10
    85     bool
    86     prompt "2.6.28.10"
    87 
    88 config KERNEL_V_2_6_29
    89     bool
    90     prompt "2.6.29"
    91 
    92 config KERNEL_V_2_6_29_1
    93     bool
    94     prompt "2.6.29.1"
    95 
    96 config KERNEL_V_2_6_29_2
    97     bool
    98     prompt "2.6.29.2"
    99 
   100 config KERNEL_V_2_6_29_3
   101     bool
   102     prompt "2.6.29.3"
   103 
   104 config KERNEL_V_2_6_29_4
   105     bool
   106     prompt "2.6.29.4"
   107 
   108 config KERNEL_V_2_6_29_5
   109     bool
   110     prompt "2.6.29.5"
   111 
   112 config KERNEL_V_2_6_29_6
   113     bool
   114     prompt "2.6.29.6"
   115 
   116 config KERNEL_V_2_6_30
   117     bool
   118     prompt "2.6.30"
   119 
   120 config KERNEL_V_2_6_30_1
   121     bool
   122     prompt "2.6.30.1"
   123 
   124 config KERNEL_V_2_6_30_2
   125     bool
   126     prompt "2.6.30.2"
   127 
   128 config KERNEL_V_2_6_30_3
   129     bool
   130     prompt "2.6.30.3"
   131 
   132 config KERNEL_V_2_6_30_4
   133     bool
   134     prompt "2.6.30.4"
   135 
   136 config KERNEL_V_2_6_30_5
   137     bool
   138     prompt "2.6.30.5"
   139 
   140 config KERNEL_V_2_6_30_6
   141     bool
   142     prompt "2.6.30.6"
   143 
   144 config KERNEL_V_2_6_31
   145     bool
   146     prompt "2.6.31"
   147 
   148 # CT_INSERT_VERSION_ABOVE
   149 # Don't remove above line!
   150 
   151 config KERNEL_V_select
   152     bool
   153     prompt "Other version (EXPERIMENTAL)"
   154     depends on EXPERIMENTAL
   155 
   156 endchoice
   157 
   158 config KERNEL_VERSION
   159     string
   160     prompt "Kernel version" if KERNEL_V_select
   161     default "2.6.18.8" if KERNEL_V_2_6_18_8
   162     default "2.6.19.7" if KERNEL_V_2_6_19_7
   163     default "2.6.20.21" if KERNEL_V_2_6_20_21
   164     default "2.6.21.7" if KERNEL_V_2_6_21_7
   165     default "2.6.22.19" if KERNEL_V_2_6_22_19
   166     default "2.6.23.17" if KERNEL_V_2_6_23_17
   167     default "2.6.24.7" if KERNEL_V_2_6_24_7
   168     default "2.6.25.20" if KERNEL_V_2_6_25_20
   169     default "2.6.26.8" if KERNEL_V_2_6_26_8
   170     default "2.6.27.33" if KERNEL_V_2_6_27_33
   171     default "2.6.28.10" if KERNEL_V_2_6_28_10
   172     default "2.6.29" if KERNEL_V_2_6_29
   173     default "2.6.29.1" if KERNEL_V_2_6_29_1
   174     default "2.6.29.2" if KERNEL_V_2_6_29_2
   175     default "2.6.29.3" if KERNEL_V_2_6_29_3
   176     default "2.6.29.4" if KERNEL_V_2_6_29_4
   177     default "2.6.29.5" if KERNEL_V_2_6_29_5
   178     default "2.6.29.6" if KERNEL_V_2_6_29_6
   179     default "2.6.30" if KERNEL_V_2_6_30
   180     default "2.6.30.1" if KERNEL_V_2_6_30_1
   181     default "2.6.30.2" if KERNEL_V_2_6_30_2
   182     default "2.6.30.3" if KERNEL_V_2_6_30_3
   183     default "2.6.30.4" if KERNEL_V_2_6_30_4
   184     default "2.6.30.5" if KERNEL_V_2_6_30_5
   185     default "2.6.30.6" if KERNEL_V_2_6_30_6
   186     default "2.6.31" if KERNEL_V_2_6_31
   187 # CT_INSERT_VERSION_STRING_ABOVE
   188 # Don't remove above line!
   189     help
   190       Enter here the kernel version you want to use, if it is
   191       not listed above. Something like V.P.S or V.P.S.E, where:
   192         V: VERSION
   193         P: PATCHLEVEL
   194         S: SUBLEVEL
   195         E: EXTRAVERSION
   196 
   197 choice
   198     bool
   199     prompt "Kernel verbosity:"
   200     default KERNEL_LINUX_VERBOSITY_0
   201 
   202 config KERNEL_LINUX_VERBOSITY_0
   203     bool
   204     prompt "Simplified"
   205     help
   206       Print simplified command lines.
   207 
   208 config KERNEL_LINUX_VERBOSITY_1
   209     bool
   210     prompt "Full commands"
   211     help
   212       Print full command lines.
   213 
   214 config KERNEL_LINUX_VERBOSITY_2
   215     bool
   216     prompt "Exec reasons"
   217     help
   218       Print the reasons why a make target is rebuild.
   219 
   220 endchoice
   221 
   222 config KERNEL_LINUX_VERBOSE_LEVEL
   223     int
   224     default 0 if KERNEL_LINUX_VERBOSITY_0
   225     default 1 if KERNEL_LINUX_VERBOSITY_1
   226     default 2 if KERNEL_LINUX_VERBOSITY_2
   227 
   228 endif
   229 
   230 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   231     bool
   232     prompt "Use custom headers"
   233     help
   234       If you have some kernel headers lying around, you can enter the path
   235       below.
   236 
   237 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   238 
   239 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   240     bool
   241     prompt "This is a tarball"
   242     default n
   243     help
   244       If you say 'n' here, the path below is expected to point to a directory
   245       containing readily prepared headers
   246       
   247       If you say 'y' here, then the path below is expected to point to a
   248       tarball of such a directory.
   249       
   250       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   251       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   252       
   253       Now, passing a tarball around is easier than passing a directory, so
   254       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   255       say 'y' here, and enter the path to this tarball below.
   256 
   257 config KERNEL_LINUX_CUSTOM_PATH
   258     string
   259     prompt "Path to custom headers directory/tarball"
   260     help
   261       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   262 
   263 endif # KERNEL_LINUX_USE_CUSTOM_DIR
   264 
   265 endchoice