config/kernel/linux.in.2
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Apr 27 22:37:32 2011 +0200 (2011-04-27)
changeset 2414 8f84a8897204
parent 2405 config/kernel/linux.in@4979c581d088
child 2420 f5969ca41691
permissions -rw-r--r--
config: reorder the kernels sub-menu

Re-organise the sub-menu so that:
- the kernels list comes first,
- followed by kernels generic options
- followed by kernels specific options

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