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