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