config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Nov 24 23:10:55 2010 +0100 (2010-11-24)
changeset 2200 83ce0882d42d
parent 2160 53aa2773dd80
child 2221 0b27f6ceb693
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 # Linux kernel options
     4 
     5 config KERNEL_linux
     6     select KERNEL_SUPPORTS_SHARED_LIBS
     7     help
     8       Build a toolchain targeting systems running Linux as a kernel.
     9 
    10 choice
    11     bool
    12     prompt "Get kernel headers from:"
    13 
    14 config KERNEL_LINUX_INSTALL
    15     bool
    16     prompt "kernel's 'headers_install'"
    17     help
    18       This will make use of the new headers_install rule in recent kernels.
    19       This is most probably what you want to use.
    20 
    21 if KERNEL_LINUX_INSTALL
    22 
    23 choice
    24     bool
    25     prompt "Linux kernel version"
    26 # Don't remove next line
    27 # CT_INSERT_VERSION_BELOW
    28 
    29 config KERNEL_V_2_6_36_1
    30     bool
    31     prompt "2.6.36.1"
    32 
    33 config KERNEL_V_2_6_36
    34     bool
    35     prompt "2.6.36"
    36 
    37 config KERNEL_V_2_6_35_9
    38     bool
    39     prompt "2.6.35.9"
    40 
    41 config KERNEL_V_2_6_34_7
    42     bool
    43     prompt "2.6.34.7"
    44 
    45 config KERNEL_V_2_6_33_7
    46     bool
    47     prompt "2.6.33.7"
    48 
    49 config KERNEL_V_2_6_32_26
    50     bool
    51     prompt "2.6.32.26 (long-term stable)"
    52     help
    53       The Linux 2.6.32 tree is the current "long-term stable" maintenance branch.
    54       It is intended to fill the niche for users who are not using distribution
    55       kernels but want to use a regression-free kernel for a longer time.
    56       
    57       Critical bug fixes to later 2.6 releases are often ported to this branch
    58       which makes 2.6.32 a very useful base for many embedded developers seeking
    59       stable APIs or those who do not need the latest bleeding edge features.
    60       
    61       ... and no, this kernel has not undergone any specific QA testing.
    62       
    63       See the original announcement by Greg Kroah-Hartman in the following
    64       mailing list entry:
    65         http://marc.info/?l=linux-kernel&m=126384198403392&w=2
    66 
    67 config KERNEL_V_2_6_31_14
    68     bool
    69     prompt "2.6.31.14"
    70 
    71 config KERNEL_V_2_6_27_56
    72     bool
    73     prompt "2.6.27.56 (old long-term stable)"
    74     help
    75       The Linux 2.6.27 tree is the previous "long-term stable" maintenance branch.
    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.27 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 Adrian Bunk in the following mailing list
    86       entry:
    87         http://marc.info/?l=linux-kernel&m=122375909403298&w=2
    88 
    89 config KERNEL_LINUX_CUSTOM
    90     bool
    91     prompt "custom tarball"
    92     help
    93       Use a local tarball of a complete kernel source tree.
    94 
    95 config KERNEL_LINUX_CUSTOM_TARBALL
    96     string
    97     prompt "Path to custom tarball"
    98     depends on KERNEL_LINUX_CUSTOM
    99     help
   100       Enter here the path to the tarball of your full kernel tree.
   101 
   102 endchoice
   103 
   104 config KERNEL_VERSION
   105     string
   106 # Don't remove next line
   107 # CT_INSERT_VERSION_STRING_BELOW
   108     default "2.6.36.1" if KERNEL_V_2_6_36_1
   109     default "2.6.36" if KERNEL_V_2_6_36
   110     default "2.6.35.9" if KERNEL_V_2_6_35_9
   111     default "2.6.34.7" if KERNEL_V_2_6_34_7
   112     default "2.6.33.7" if KERNEL_V_2_6_33_7
   113     default "2.6.32.26" if KERNEL_V_2_6_32_26
   114     default "2.6.31.14" if KERNEL_V_2_6_31_14
   115     default "2.6.27.56" if KERNEL_V_2_6_27_56
   116 
   117 choice
   118     bool
   119     prompt "Kernel verbosity:"
   120     default KERNEL_LINUX_VERBOSITY_0
   121 
   122 config KERNEL_LINUX_VERBOSITY_0
   123     bool
   124     prompt "Simplified"
   125     help
   126       Print simplified command lines.
   127 
   128 config KERNEL_LINUX_VERBOSITY_1
   129     bool
   130     prompt "Full commands"
   131     help
   132       Print full command lines.
   133 
   134 config KERNEL_LINUX_VERBOSITY_2
   135     bool
   136     prompt "Exec reasons"
   137     help
   138       Print the reasons why a make target is rebuild.
   139 
   140 endchoice
   141 
   142 config KERNEL_LINUX_VERBOSE_LEVEL
   143     int
   144     default 0 if KERNEL_LINUX_VERBOSITY_0
   145     default 1 if KERNEL_LINUX_VERBOSITY_1
   146     default 2 if KERNEL_LINUX_VERBOSITY_2
   147 
   148 config KERNEL_LINUX_INSTALL_CHECK
   149     bool
   150     prompt "Check installed headers"
   151     default y
   152     help
   153       If you are in doubt that installed headers are buggy, say 'Y'
   154       here to have an extra check passed onto the headers.
   155 
   156 endif # KERNEL_LINUX_INSTALL
   157 
   158 config KERNEL_LINUX_USE_CUSTOM_HEADERS
   159     bool
   160     prompt "pre-installed headers tree"
   161     help
   162       If you have some pre-installed kernel headers lying around, you can
   163       enter the path to these headers, below, they will be copied from
   164       there, and into the toolchain's sysroot.
   165       
   166       Note:
   167       This will *not* let you use a complete kernel tree!
   168       If you want to use your own full kernel tree, then you want to
   169       say 'Y' to KERNEL_LINUX_INSTALL, above, and select KERNEL_LINUX_CUSTOM.
   170 
   171 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   172 
   173 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   174     bool
   175     prompt "This is a tarball"
   176     default n
   177     help
   178       If you say 'n' here, the path below is expected to point to a directory
   179       containing readily prepared headers
   180       
   181       If you say 'y' here, then the path below is expected to point to a
   182       tarball of such a directory.
   183       
   184       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   185       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   186       
   187       Now, passing a tarball around is easier than passing a directory, so
   188       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   189       say 'y' here, and enter the path to this tarball below.
   190 
   191 config KERNEL_LINUX_CUSTOM_PATH
   192     string
   193     prompt "Path to custom headers directory/tarball"
   194     help
   195       See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
   196 
   197 endif # KERNEL_LINUX_USE_CUSTOM_HEADERS
   198 
   199 endchoice