config/kernel/linux.in
author Johannes Stezenbach <js@sig21.net>
Fri Jul 09 15:51:59 2010 +0200 (2010-07-09)
changeset 2011 ab0543fc0ef0
parent 1990 c12158f27395
child 2062 11348ef5f0ac
permissions -rw-r--r--
kernel/linux: update linux stable releases

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