config/kernel/linux.in.2
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Apr 27 22:37:32 2011 +0200 (2011-04-27)
changeset 2414 8f84a8897204
parent 2405 config/kernel/linux.in@4979c581d088
child 2420 f5969ca41691
permissions -rw-r--r--
config: reorder the kernels sub-menu

Re-organise the sub-menu so that:
- the kernels list comes first,
- followed by kernels generic options
- followed by kernels specific options

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