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