config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Oct 23 23:28:48 2010 +0200 (2010-10-23)
changeset 2158 cff04df67d28
parent 2136 750cf0d26370
child 2159 c27380b72046
permissions -rw-r--r--
kernel/linux: add 2.6.36

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