config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Dec 11 23:14:57 2011 +0100 (2011-12-11)
changeset 2799 7a5ee8d36a1d
parent 2741 1d4a96d9afd1
child 2812 6bfe57f4661e
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 ## select KERNEL_SUPPORTS_SHARED_LIBS
     4 ##
     5 ## help Build a toolchain targeting systems running Linux as a kernel.
     6 
     7 config KERNEL_LINUX_USE_CUSTOM_HEADERS
     8     bool
     9     prompt "Use pre-installed headers tree (OBSOLETE)"
    10     depends on OBSOLETE
    11     help
    12       If you have some pre-installed kernel headers lying around, you can
    13       enter the path to these headers, below, they will be copied from
    14       there, and into the toolchain's sysroot.
    15       
    16       Note:
    17       This will *not* let you use a complete kernel tree!
    18       If you want to use your own full kernel tree, then you want to say 'N'
    19       here, and select KERNEL_LINUX_CUSTOM, in the versions list, below.
    20 
    21 if ! KERNEL_LINUX_USE_CUSTOM_HEADERS
    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_3_1_5
    30     bool
    31     prompt "3.1.5"
    32 
    33 config KERNEL_V_3_1_4
    34     bool
    35     prompt "3.1.4"
    36 
    37 config KERNEL_V_3_1_3
    38     bool
    39     prompt "3.1.3"
    40 
    41 config KERNEL_V_3_1_2
    42     bool
    43     prompt "3.1.2"
    44 
    45 config KERNEL_V_3_1_1
    46     bool
    47     prompt "3.1.1"
    48 
    49 config KERNEL_V_3_1
    50     bool
    51     prompt "3.1"
    52 
    53 config KERNEL_V_3_0_13
    54     bool
    55     prompt "3.0.13"
    56 
    57 config KERNEL_V_2_6_39_4
    58     bool
    59     prompt "2.6.39.4"
    60 
    61 config KERNEL_V_2_6_38_8
    62     bool
    63     prompt "2.6.38.8"
    64 
    65 config KERNEL_V_2_6_37_6
    66     bool
    67     prompt "2.6.37.6"
    68 
    69 config KERNEL_V_2_6_36_4
    70     bool
    71     prompt "2.6.36.4"
    72 
    73 config KERNEL_V_2_6_33_20
    74     bool
    75     prompt "2.6.33.20"
    76     help
    77       This is primarily for the use of those people who are stuck using the
    78       .33-rt kernel.  Anyone else who really wants to use the .33 kernel tree
    79       is welcome to use this one as well.
    80 
    81 config KERNEL_V_2_6_32_50
    82     bool
    83     prompt "2.6.32.50 (longterm)"
    84     help
    85       The Linux 2.6.32 tree is a "longterm" maintenance branch.
    86       
    87       It is intended to fill the niche for users who are not using distribution
    88       kernels but want to use a regression-free kernel for a longer time.
    89       
    90       Critical bug fixes to later 2.6 releases are often ported to this branch
    91       which makes 2.6.32 a very useful base for many embedded developers seeking
    92       stable APIs or those who do not need the latest bleeding edge features.
    93       
    94       ... and no, this kernel has not undergone any specific QA testing.
    95       
    96       See the original announcement by Greg Kroah-Hartman in the following
    97       mailing list entry:
    98         http://marc.info/?l=linux-kernel&m=126384198403392&w=4
    99 
   100 config KERNEL_V_2_6_31_14
   101     bool
   102     prompt "2.6.31.14"
   103 
   104 config KERNEL_V_2_6_27_57
   105     bool
   106     prompt "2.6.27.57 (longterm)"
   107     help
   108       The Linux 2.6.27 tree is a "longterm" maintenance branch.
   109       
   110       It is intended to fill the niche for users who are not using distribution
   111       kernels but want to use a regression-free kernel for a longer time.
   112       
   113       Critical bug fixes to later 2.6 releases are often ported to this branch
   114       which makes 2.6.27 a very useful base for many embedded developers seeking
   115       stable APIs or those who do not need the latest bleeding edge features.
   116       
   117       ... and no, this kernel has not undergone any specific QA testing.
   118       
   119       See the original announcement by Adrian Bunk in the following mailing list
   120       entry:
   121         http://marc.info/?l=linux-kernel&m=122375909403298&w=4
   122       
   123       It is now maintained by Greg Kroah-Hartman, see this mailing list entry:
   124         http://marc.info/?l=linux-kernel&m=129133701916793&w=4
   125 
   126 config KERNEL_LINUX_CUSTOM
   127     bool
   128     prompt "custom tarball or directory"
   129     help
   130       Use a local tarball or local kernel directory of a complete kernel source tree.
   131 
   132 config KERNEL_LINUX_CUSTOM_LOCATION
   133     string
   134     prompt "Path to custom source, tarball or directory"
   135     depends on KERNEL_LINUX_CUSTOM
   136     help
   137       Enter here the path to the tarball of your full kernel tree or
   138       kernel directory
   139 
   140 endchoice
   141 
   142 config KERNEL_VERSION
   143     string
   144 # Don't remove next line
   145 # CT_INSERT_VERSION_STRING_BELOW
   146     default "3.1.5" if KERNEL_V_3_1_5
   147     default "3.1.4" if KERNEL_V_3_1_4
   148     default "3.1.3" if KERNEL_V_3_1_3
   149     default "3.1.2" if KERNEL_V_3_1_2
   150     default "3.1.1" if KERNEL_V_3_1_1
   151     default "3.1" if KERNEL_V_3_1
   152     default "3.0.13" if KERNEL_V_3_0_13
   153     default "2.6.39.4" if KERNEL_V_2_6_39_4
   154     default "2.6.38.8" if KERNEL_V_2_6_38_8
   155     default "2.6.37.6" if KERNEL_V_2_6_37_6
   156     default "2.6.36.4" if KERNEL_V_2_6_36_4
   157     default "2.6.33.20" if KERNEL_V_2_6_33_20
   158     default "2.6.32.50" if KERNEL_V_2_6_32_50
   159     default "2.6.31.14" if KERNEL_V_2_6_31_14
   160     default "2.6.27.57" if KERNEL_V_2_6_27_57
   161     default "custom" if KERNEL_LINUX_CUSTOM
   162 
   163 endif # ! KERNEL_LINUX_USE_CUSTOM_HEADERS
   164 
   165 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   166 
   167 config KERNEL_LINUX_CUSTOM_PATH
   168     string
   169     prompt "Path to custom headers directory/tarball"
   170     help
   171       See KERNEL_LINUX_CUSTOM_IS_TARBALL, below.
   172 
   173 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   174     bool
   175     prompt "This is a tarball"
   176     help
   177       If you say 'n' here, the path above is expected to point to a directory
   178       containing readily prepared headers
   179       
   180       If you say 'y' here, then the path above is expected to point to a
   181       tarball of such a directory.
   182       
   183       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   184       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   185       
   186       Now, passing a tarball around is easier than passing a directory, so
   187       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   188       say 'y' here, and enter the path to this tarball below.
   189 
   190 endif # KERNEL_LINUX_USE_CUSTOM_HEADERS