config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Mon Mar 28 22:45:49 2011 +0200 (2011-03-28)
changeset 2370 e915ac8a4224
parent 2359 4823c9504de0
child 2405 4979c581d088
permissions -rw-r--r--
kernel/linux: update to latest versions

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@448
     1
# Linux kernel options
yann@448
     2
yann@861
     3
config KERNEL_linux
yann@1500
     4
    select KERNEL_SUPPORTS_SHARED_LIBS
yann@861
     5
    help
yann@861
     6
      Build a toolchain targeting systems running Linux as a kernel.
yann@861
     7
yann@1345
     8
choice
yann@1345
     9
    bool
yann@1345
    10
    prompt "Get kernel headers from:"
yann@1345
    11
yann@1345
    12
config KERNEL_LINUX_INSTALL
yann@1345
    13
    bool
yann@1345
    14
    prompt "kernel's 'headers_install'"
yann@1345
    15
    help
yann@1345
    16
      This will make use of the new headers_install rule in recent kernels.
yann@1345
    17
      This is most probably what you want to use.
yann@1345
    18
yann@1345
    19
if KERNEL_LINUX_INSTALL
yann@1345
    20
yann@1345
    21
choice
yann@1345
    22
    bool
yann@1345
    23
    prompt "Linux kernel version"
yann@1535
    24
# Don't remove next line
yann@1535
    25
# CT_INSERT_VERSION_BELOW
yann@1345
    26
yann@2370
    27
config KERNEL_V_2_6_38_2
yann@2370
    28
    bool
yann@2370
    29
    prompt "2.6.38.2"
yann@2370
    30
yann@2358
    31
config KERNEL_V_2_6_38_1
yann@2358
    32
    bool
yann@2358
    33
    prompt "2.6.38.1"
yann@2358
    34
yann@2337
    35
config KERNEL_V_2_6_38
yann@2337
    36
    bool
yann@2337
    37
    prompt "2.6.38"
yann@2337
    38
yann@2370
    39
config KERNEL_V_2_6_37_6
yann@2370
    40
    bool
yann@2370
    41
    prompt "2.6.37.6"
yann@2370
    42
yann@2358
    43
config KERNEL_V_2_6_37_5
yann@2337
    44
    bool
yann@2358
    45
    prompt "2.6.37.5"
yann@2358
    46
yann@2358
    47
config KERNEL_V_2_6_37_4
yann@2358
    48
    bool
yann@2358
    49
    prompt "2.6.37.4"
yann@2337
    50
yann@2337
    51
config KERNEL_V_2_6_37_3
yann@2337
    52
    bool
yann@2337
    53
    prompt "2.6.37.3"
yann@2337
    54
yann@2325
    55
config KERNEL_V_2_6_37_2
yann@2325
    56
    bool
yann@2325
    57
    prompt "2.6.37.2"
yann@2325
    58
yann@2317
    59
config KERNEL_V_2_6_37_1
yann@2310
    60
    bool
yann@2310
    61
    prompt "2.6.37.1"
yann@2310
    62
yann@2252
    63
config KERNEL_V_2_6_37
yann@2252
    64
    bool
yann@2252
    65
    prompt "2.6.37"
yann@2252
    66
yann@2310
    67
config KERNEL_V_2_6_36_4
yann@2252
    68
    bool
yann@2310
    69
    prompt "2.6.36.4"
yann@2252
    70
yann@2310
    71
config KERNEL_V_2_6_35_11
yann@2221
    72
    bool
yann@2310
    73
    prompt "2.6.35.11 (longterm)"
yann@2222
    74
    help
yann@2221
    75
      The Linux 2.6.35 tree is a "longterm" maintenance branch.
yann@2221
    76
      
yann@2221
    77
      It is intended to fill the niche for users who are not using distribution
yann@2221
    78
      kernels but want to use a regression-free kernel for a longer time.
yann@2221
    79
      
yann@2221
    80
      Critical bug fixes to later 2.6 releases are often ported to this branch
yann@2221
    81
      which makes 2.6.35 a very useful base for many embedded developers seeking
yann@2221
    82
      stable APIs or those who do not need the latest bleeding edge features.
yann@2221
    83
      
yann@2221
    84
      ... and no, this kernel has not undergone any specific QA testing.
yann@2221
    85
      
yann@2221
    86
      See the original announcement by Andi Kleen in the following mailing
yann@2221
    87
      list entry:
yann@2221
    88
        http://marc.info/?l=linux-kernel&m=129136895415202&w=4
yann@2135
    89
yann@2252
    90
config KERNEL_V_2_6_34_8
lacombar@2062
    91
    bool
yann@2252
    92
    prompt "2.6.34.8"
lacombar@2062
    93
yann@2370
    94
config KERNEL_V_2_6_33_9
lacombar@2062
    95
    bool
yann@2370
    96
    prompt "2.6.33.9"
lacombar@2062
    97
yann@2370
    98
config KERNEL_V_2_6_32_36
yann@1790
    99
    bool
yann@2370
   100
    prompt "2.6.32.36 (longterm)"
yann@2136
   101
    help
yann@2221
   102
      The Linux 2.6.32 tree is a "longterm" maintenance branch.
yann@2221
   103
      
yann@2136
   104
      It is intended to fill the niche for users who are not using distribution
yann@2136
   105
      kernels but want to use a regression-free kernel for a longer time.
yann@2136
   106
      
yann@2136
   107
      Critical bug fixes to later 2.6 releases are often ported to this branch
yann@2136
   108
      which makes 2.6.32 a very useful base for many embedded developers seeking
yann@2136
   109
      stable APIs or those who do not need the latest bleeding edge features.
yann@2136
   110
      
yann@2136
   111
      ... and no, this kernel has not undergone any specific QA testing.
yann@2136
   112
      
yann@2136
   113
      See the original announcement by Greg Kroah-Hartman in the following
yann@2136
   114
      mailing list entry:
yann@2221
   115
        http://marc.info/?l=linux-kernel&m=126384198403392&w=4
yann@1665
   116
js@2011
   117
config KERNEL_V_2_6_31_14
jocke@1702
   118
    bool
js@2011
   119
    prompt "2.6.31.14"
yann@1534
   120
yann@2310
   121
config KERNEL_V_2_6_27_58
yann@1534
   122
    bool
yann@2310
   123
    prompt "2.6.27.58 (longterm)"
jocke@1702
   124
    help
yann@2221
   125
      The Linux 2.6.27 tree is a "longterm" maintenance branch.
yann@2221
   126
      
jocke@1702
   127
      It is intended to fill the niche for users who are not using distribution
jocke@1702
   128
      kernels but want to use a regression-free kernel for a longer time.
jocke@1702
   129
      
jocke@1702
   130
      Critical bug fixes to later 2.6 releases are often ported to this branch
jocke@1702
   131
      which makes 2.6.27 a very useful base for many embedded developers seeking
jocke@1702
   132
      stable APIs or those who do not need the latest bleeding edge features.
jocke@1702
   133
      
jocke@1702
   134
      ... and no, this kernel has not undergone any specific QA testing.
jocke@1702
   135
      
jocke@1702
   136
      See the original announcement by Adrian Bunk in the following mailing list
yann@2136
   137
      entry:
yann@2221
   138
        http://marc.info/?l=linux-kernel&m=122375909403298&w=4
yann@2221
   139
      
yann@2221
   140
      It is now maintained by Greg Kroah-Hartman, see this mailing list entry:
yann@2221
   141
        http://marc.info/?l=linux-kernel&m=129133701916793&w=4
yann@1534
   142
yann@1990
   143
config KERNEL_LINUX_CUSTOM
yann@1990
   144
    bool
yann@1990
   145
    prompt "custom tarball"
yann@1990
   146
    help
yann@1990
   147
      Use a local tarball of a complete kernel source tree.
yann@1990
   148
yann@1990
   149
config KERNEL_LINUX_CUSTOM_TARBALL
yann@1990
   150
    string
yann@1990
   151
    prompt "Path to custom tarball"
yann@1990
   152
    depends on KERNEL_LINUX_CUSTOM
yann@1990
   153
    help
yann@1990
   154
      Enter here the path to the tarball of your full kernel tree.
yann@1990
   155
yann@1345
   156
endchoice
yann@1345
   157
yann@1345
   158
config KERNEL_VERSION
yann@1345
   159
    string
yann@1535
   160
# Don't remove next line
yann@1535
   161
# CT_INSERT_VERSION_STRING_BELOW
yann@2370
   162
    default "2.6.38.2" if KERNEL_V_2_6_38_2
yann@2358
   163
    default "2.6.38.1" if KERNEL_V_2_6_38_1
yann@2337
   164
    default "2.6.38" if KERNEL_V_2_6_38
yann@2370
   165
    default "2.6.37.6" if KERNEL_V_2_6_37_6
yann@2358
   166
    default "2.6.37.5" if KERNEL_V_2_6_37_5
yann@2358
   167
    default "2.6.37.4" if KERNEL_V_2_6_37_4
yann@2337
   168
    default "2.6.37.3" if KERNEL_V_2_6_37_3
yann@2325
   169
    default "2.6.37.2" if KERNEL_V_2_6_37_2
yann@2310
   170
    default "2.6.37.1" if KERNEL_V_2_6_37_1
yann@2252
   171
    default "2.6.37" if KERNEL_V_2_6_37
yann@2310
   172
    default "2.6.36.4" if KERNEL_V_2_6_36_4
yann@2310
   173
    default "2.6.35.11" if KERNEL_V_2_6_35_11
yann@2252
   174
    default "2.6.34.8" if KERNEL_V_2_6_34_8
yann@2370
   175
    default "2.6.33.9" if KERNEL_V_2_6_33_9
yann@2370
   176
    default "2.6.32.36" if KERNEL_V_2_6_32_36
js@2011
   177
    default "2.6.31.14" if KERNEL_V_2_6_31_14
yann@2310
   178
    default "2.6.27.58" if KERNEL_V_2_6_27_58
yann@1345
   179
yann@1345
   180
choice
yann@1345
   181
    bool
yann@1345
   182
    prompt "Kernel verbosity:"
yann@1345
   183
    default KERNEL_LINUX_VERBOSITY_0
yann@1345
   184
yann@1345
   185
config KERNEL_LINUX_VERBOSITY_0
yann@1345
   186
    bool
yann@1345
   187
    prompt "Simplified"
yann@1345
   188
    help
yann@1345
   189
      Print simplified command lines.
yann@1345
   190
yann@1345
   191
config KERNEL_LINUX_VERBOSITY_1
yann@1345
   192
    bool
yann@1345
   193
    prompt "Full commands"
yann@1345
   194
    help
yann@1345
   195
      Print full command lines.
yann@1345
   196
yann@1345
   197
config KERNEL_LINUX_VERBOSITY_2
yann@1345
   198
    bool
yann@1345
   199
    prompt "Exec reasons"
yann@1345
   200
    help
yann@1345
   201
      Print the reasons why a make target is rebuild.
yann@1345
   202
yann@1345
   203
endchoice
yann@1345
   204
yann@1345
   205
config KERNEL_LINUX_VERBOSE_LEVEL
yann@1345
   206
    int
yann@1345
   207
    default 0 if KERNEL_LINUX_VERBOSITY_0
yann@1345
   208
    default 1 if KERNEL_LINUX_VERBOSITY_1
yann@1345
   209
    default 2 if KERNEL_LINUX_VERBOSITY_2
yann@1345
   210
yann@1989
   211
config KERNEL_LINUX_INSTALL_CHECK
yann@1989
   212
    bool
yann@1989
   213
    prompt "Check installed headers"
yann@1989
   214
    default y
yann@1989
   215
    help
yann@1989
   216
      If you are in doubt that installed headers are buggy, say 'Y'
yann@1989
   217
      here to have an extra check passed onto the headers.
yann@1989
   218
yann@1989
   219
endif # KERNEL_LINUX_INSTALL
yann@1345
   220
yann@1345
   221
config KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@1345
   222
    bool
yann@1990
   223
    prompt "pre-installed headers tree"
yann@1345
   224
    help
yann@1990
   225
      If you have some pre-installed kernel headers lying around, you can
yann@1990
   226
      enter the path to these headers, below, they will be copied from
yann@1990
   227
      there, and into the toolchain's sysroot.
yann@1990
   228
      
yann@1990
   229
      Note:
yann@1990
   230
      This will *not* let you use a complete kernel tree!
yann@1990
   231
      If you want to use your own full kernel tree, then you want to
yann@1990
   232
      say 'Y' to KERNEL_LINUX_INSTALL, above, and select KERNEL_LINUX_CUSTOM.
yann@1345
   233
yann@1345
   234
if KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@1345
   235
yann@1345
   236
config KERNEL_LINUX_CUSTOM_IS_TARBALL
yann@1345
   237
    bool
yann@1345
   238
    prompt "This is a tarball"
yann@1345
   239
    default n
yann@1345
   240
    help
yann@1345
   241
      If you say 'n' here, the path below is expected to point to a directory
yann@1345
   242
      containing readily prepared headers
yann@1345
   243
      
yann@1345
   244
      If you say 'y' here, then the path below is expected to point to a
yann@1345
   245
      tarball of such a directory.
yann@1345
   246
      
yann@1345
   247
      Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
yann@1345
   248
      say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
yann@1345
   249
      
yann@1345
   250
      Now, passing a tarball around is easier than passing a directory, so
yann@1345
   251
      if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
yann@1345
   252
      say 'y' here, and enter the path to this tarball below.
yann@1345
   253
yann@1345
   254
config KERNEL_LINUX_CUSTOM_PATH
yann@1345
   255
    string
yann@1345
   256
    prompt "Path to custom headers directory/tarball"
yann@1345
   257
    help
yann@1345
   258
      See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
yann@1345
   259
yann@1989
   260
endif # KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@1345
   261
yann@1345
   262
endchoice