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