config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jan 08 17:58:23 2011 +0100 (2011-01-08)
changeset 2252 b022b7c7707a
parent 2222 de489d9d6efb
child 2310 35bfdc30a613
permissions -rw-r--r--
kernel/linux: add latest versions

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