config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Nov 24 23:10:55 2010 +0100 (2010-11-24)
changeset 2200 83ce0882d42d
parent 2160 53aa2773dd80
child 2221 0b27f6ceb693
permissions -rw-r--r--
kernel/linux: add latest versions

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@2200
    29
config KERNEL_V_2_6_36_1
yann@2200
    30
    bool
yann@2200
    31
    prompt "2.6.36.1"
yann@2200
    32
yann@2158
    33
config KERNEL_V_2_6_36
yann@2158
    34
    bool
yann@2158
    35
    prompt "2.6.36"
yann@2158
    36
yann@2200
    37
config KERNEL_V_2_6_35_9
yann@2135
    38
    bool
yann@2200
    39
    prompt "2.6.35.9"
yann@2135
    40
yann@2135
    41
config KERNEL_V_2_6_34_7
lacombar@2062
    42
    bool
yann@2135
    43
    prompt "2.6.34.7"
lacombar@2062
    44
lacombar@2062
    45
config KERNEL_V_2_6_33_7
lacombar@2062
    46
    bool
lacombar@2062
    47
    prompt "2.6.33.7"
lacombar@2062
    48
yann@2200
    49
config KERNEL_V_2_6_32_26
yann@1790
    50
    bool
yann@2200
    51
    prompt "2.6.32.26 (long-term stable)"
yann@2136
    52
    help
yann@2136
    53
      The Linux 2.6.32 tree is the current "long-term stable" maintenance branch.
yann@2136
    54
      It is intended to fill the niche for users who are not using distribution
yann@2136
    55
      kernels but want to use a regression-free kernel for a longer time.
yann@2136
    56
      
yann@2136
    57
      Critical bug fixes to later 2.6 releases are often ported to this branch
yann@2136
    58
      which makes 2.6.32 a very useful base for many embedded developers seeking
yann@2136
    59
      stable APIs or those who do not need the latest bleeding edge features.
yann@2136
    60
      
yann@2136
    61
      ... and no, this kernel has not undergone any specific QA testing.
yann@2136
    62
      
yann@2136
    63
      See the original announcement by Greg Kroah-Hartman in the following
yann@2136
    64
      mailing list entry:
yann@2136
    65
        http://marc.info/?l=linux-kernel&m=126384198403392&w=2
yann@1665
    66
js@2011
    67
config KERNEL_V_2_6_31_14
jocke@1702
    68
    bool
js@2011
    69
    prompt "2.6.31.14"
yann@1534
    70
yann@2200
    71
config KERNEL_V_2_6_27_56
yann@1534
    72
    bool
yann@2200
    73
    prompt "2.6.27.56 (old long-term stable)"
jocke@1702
    74
    help
yann@2136
    75
      The Linux 2.6.27 tree is the previous "long-term stable" maintenance branch.
jocke@1702
    76
      It is intended to fill the niche for users who are not using distribution
jocke@1702
    77
      kernels but want to use a regression-free kernel for a longer time.
jocke@1702
    78
      
jocke@1702
    79
      Critical bug fixes to later 2.6 releases are often ported to this branch
jocke@1702
    80
      which makes 2.6.27 a very useful base for many embedded developers seeking
jocke@1702
    81
      stable APIs or those who do not need the latest bleeding edge features.
jocke@1702
    82
      
jocke@1702
    83
      ... and no, this kernel has not undergone any specific QA testing.
jocke@1702
    84
      
jocke@1702
    85
      See the original announcement by Adrian Bunk in the following mailing list
yann@2136
    86
      entry:
yann@2136
    87
        http://marc.info/?l=linux-kernel&m=122375909403298&w=2
yann@1534
    88
yann@1990
    89
config KERNEL_LINUX_CUSTOM
yann@1990
    90
    bool
yann@1990
    91
    prompt "custom tarball"
yann@1990
    92
    help
yann@1990
    93
      Use a local tarball of a complete kernel source tree.
yann@1990
    94
yann@1990
    95
config KERNEL_LINUX_CUSTOM_TARBALL
yann@1990
    96
    string
yann@1990
    97
    prompt "Path to custom tarball"
yann@1990
    98
    depends on KERNEL_LINUX_CUSTOM
yann@1990
    99
    help
yann@1990
   100
      Enter here the path to the tarball of your full kernel tree.
yann@1990
   101
yann@1345
   102
endchoice
yann@1345
   103
yann@1345
   104
config KERNEL_VERSION
yann@1345
   105
    string
yann@1535
   106
# Don't remove next line
yann@1535
   107
# CT_INSERT_VERSION_STRING_BELOW
yann@2200
   108
    default "2.6.36.1" if KERNEL_V_2_6_36_1
yann@2158
   109
    default "2.6.36" if KERNEL_V_2_6_36
yann@2200
   110
    default "2.6.35.9" if KERNEL_V_2_6_35_9
yann@2135
   111
    default "2.6.34.7" if KERNEL_V_2_6_34_7
lacombar@2062
   112
    default "2.6.33.7" if KERNEL_V_2_6_33_7
yann@2200
   113
    default "2.6.32.26" if KERNEL_V_2_6_32_26
js@2011
   114
    default "2.6.31.14" if KERNEL_V_2_6_31_14
yann@2200
   115
    default "2.6.27.56" if KERNEL_V_2_6_27_56
yann@1345
   116
yann@1345
   117
choice
yann@1345
   118
    bool
yann@1345
   119
    prompt "Kernel verbosity:"
yann@1345
   120
    default KERNEL_LINUX_VERBOSITY_0
yann@1345
   121
yann@1345
   122
config KERNEL_LINUX_VERBOSITY_0
yann@1345
   123
    bool
yann@1345
   124
    prompt "Simplified"
yann@1345
   125
    help
yann@1345
   126
      Print simplified command lines.
yann@1345
   127
yann@1345
   128
config KERNEL_LINUX_VERBOSITY_1
yann@1345
   129
    bool
yann@1345
   130
    prompt "Full commands"
yann@1345
   131
    help
yann@1345
   132
      Print full command lines.
yann@1345
   133
yann@1345
   134
config KERNEL_LINUX_VERBOSITY_2
yann@1345
   135
    bool
yann@1345
   136
    prompt "Exec reasons"
yann@1345
   137
    help
yann@1345
   138
      Print the reasons why a make target is rebuild.
yann@1345
   139
yann@1345
   140
endchoice
yann@1345
   141
yann@1345
   142
config KERNEL_LINUX_VERBOSE_LEVEL
yann@1345
   143
    int
yann@1345
   144
    default 0 if KERNEL_LINUX_VERBOSITY_0
yann@1345
   145
    default 1 if KERNEL_LINUX_VERBOSITY_1
yann@1345
   146
    default 2 if KERNEL_LINUX_VERBOSITY_2
yann@1345
   147
yann@1989
   148
config KERNEL_LINUX_INSTALL_CHECK
yann@1989
   149
    bool
yann@1989
   150
    prompt "Check installed headers"
yann@1989
   151
    default y
yann@1989
   152
    help
yann@1989
   153
      If you are in doubt that installed headers are buggy, say 'Y'
yann@1989
   154
      here to have an extra check passed onto the headers.
yann@1989
   155
yann@1989
   156
endif # KERNEL_LINUX_INSTALL
yann@1345
   157
yann@1345
   158
config KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@1345
   159
    bool
yann@1990
   160
    prompt "pre-installed headers tree"
yann@1345
   161
    help
yann@1990
   162
      If you have some pre-installed kernel headers lying around, you can
yann@1990
   163
      enter the path to these headers, below, they will be copied from
yann@1990
   164
      there, and into the toolchain's sysroot.
yann@1990
   165
      
yann@1990
   166
      Note:
yann@1990
   167
      This will *not* let you use a complete kernel tree!
yann@1990
   168
      If you want to use your own full kernel tree, then you want to
yann@1990
   169
      say 'Y' to KERNEL_LINUX_INSTALL, above, and select KERNEL_LINUX_CUSTOM.
yann@1345
   170
yann@1345
   171
if KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@1345
   172
yann@1345
   173
config KERNEL_LINUX_CUSTOM_IS_TARBALL
yann@1345
   174
    bool
yann@1345
   175
    prompt "This is a tarball"
yann@1345
   176
    default n
yann@1345
   177
    help
yann@1345
   178
      If you say 'n' here, the path below is expected to point to a directory
yann@1345
   179
      containing readily prepared headers
yann@1345
   180
      
yann@1345
   181
      If you say 'y' here, then the path below is expected to point to a
yann@1345
   182
      tarball of such a directory.
yann@1345
   183
      
yann@1345
   184
      Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
yann@1345
   185
      say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
yann@1345
   186
      
yann@1345
   187
      Now, passing a tarball around is easier than passing a directory, so
yann@1345
   188
      if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
yann@1345
   189
      say 'y' here, and enter the path to this tarball below.
yann@1345
   190
yann@1345
   191
config KERNEL_LINUX_CUSTOM_PATH
yann@1345
   192
    string
yann@1345
   193
    prompt "Path to custom headers directory/tarball"
yann@1345
   194
    help
yann@1345
   195
      See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
yann@1345
   196
yann@1989
   197
endif # KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@1345
   198
yann@1345
   199
endchoice