config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Feb 27 22:14:12 2011 +0100 (2011-02-27)
changeset 2325 046b36207331
parent 2317 6d21330d6db0
child 2337 236e33eda764
permissions -rw-r--r--
kernel/linux: add latest 2.6.37.2 version

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