config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Mar 23 23:11:29 2011 +0100 (2011-03-23)
changeset 2358 e876555b5bfe
parent 2356 c151f8803461
child 2359 4823c9504de0
permissions -rw-r--r--
kernel/linux: add altest version

Fix an incorrect version at the same time... :-(

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