config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Tue Jul 31 23:55:12 2012 +0200 (2012-07-31)
changeset 3021 3bcea5bb18e2
parent 3020 c5e9702016d8
child 3026 8b914f5ce90d
permissions -rw-r--r--
kernel/linux: forgot to update linux-stable

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.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_5
    30     bool
    31     prompt "3.5"
    32 
    33 config KERNEL_V_3_4_7
    34     bool
    35     prompt "3.4.7"
    36 
    37 config KERNEL_V_3_3_8
    38     bool
    39     prompt "3.3.8"
    40 
    41 config KERNEL_V_3_2_24
    42     bool
    43     prompt "3.2.24"
    44 
    45 config KERNEL_V_3_1_10
    46     bool
    47     prompt "3.1.10"
    48 
    49 config KERNEL_V_3_0_38
    50     bool
    51     prompt "3.0.38"
    52 
    53 config KERNEL_V_2_6_39_4
    54     bool
    55     prompt "2.6.39.4"
    56 
    57 config KERNEL_V_2_6_38_8
    58     bool
    59     prompt "2.6.38.8"
    60 
    61 config KERNEL_V_2_6_37_6
    62     bool
    63     prompt "2.6.37.6"
    64 
    65 config KERNEL_V_2_6_36_4
    66     bool
    67     prompt "2.6.36.4"
    68 
    69 config KERNEL_V_2_6_33_20
    70     bool
    71     prompt "2.6.33.20"
    72     help
    73       This is primarily for the use of those people who are stuck using the
    74       .33-rt kernel.  Anyone else who really wants to use the .33 kernel tree
    75       is welcome to use this one as well.
    76 
    77 config KERNEL_V_2_6_32_59
    78     bool
    79     prompt "2.6.32.59 (longterm)"
    80     help
    81       The Linux 2.6.32 tree is a "longterm" maintenance branch.
    82       
    83       It is intended to fill the niche for users who are not using distribution
    84       kernels but want to use a regression-free kernel for a longer time.
    85       
    86       Critical bug fixes to later 2.6 releases are often ported to this branch
    87       which makes 2.6.32 a very useful base for many embedded developers seeking
    88       stable APIs or those who do not need the latest bleeding edge features.
    89       
    90       ... and no, this kernel has not undergone any specific QA testing.
    91       
    92       See the original announcement by Greg Kroah-Hartman in the following
    93       mailing list entry:
    94         http://marc.info/?l=linux-kernel&m=126384198403392&w=4
    95 
    96 config KERNEL_V_2_6_31_14
    97     bool
    98     prompt "2.6.31.14"
    99 
   100 config KERNEL_V_2_6_27_62
   101     bool
   102     prompt "2.6.27.62 (longterm)"
   103     help
   104       The Linux 2.6.27 tree is a "longterm" maintenance branch.
   105       
   106       It is intended to fill the niche for users who are not using distribution
   107       kernels but want to use a regression-free kernel for a longer time.
   108       
   109       Critical bug fixes to later 2.6 releases are often ported to this branch
   110       which makes 2.6.27 a very useful base for many embedded developers seeking
   111       stable APIs or those who do not need the latest bleeding edge features.
   112       
   113       ... and no, this kernel has not undergone any specific QA testing.
   114       
   115       See the original announcement by Adrian Bunk in the following mailing list
   116       entry:
   117         http://marc.info/?l=linux-kernel&m=122375909403298&w=4
   118       
   119       It is now maintained by Greg Kroah-Hartman, see this mailing list entry:
   120         http://marc.info/?l=linux-kernel&m=129133701916793&w=4
   121 
   122 config KERNEL_LINUX_CUSTOM
   123     bool
   124     prompt "custom tarball or directory"
   125     help
   126       Use a local tarball or local kernel directory of a complete kernel source tree.
   127 
   128 config KERNEL_LINUX_CUSTOM_LOCATION
   129     string
   130     prompt "Path to custom source, tarball or directory"
   131     depends on KERNEL_LINUX_CUSTOM
   132     help
   133       Enter here the path to the tarball of your full kernel tree or
   134       kernel directory
   135 
   136 endchoice
   137 
   138 config KERNEL_VERSION
   139     string
   140 # Don't remove next line
   141 # CT_INSERT_VERSION_STRING_BELOW
   142     default "3.5" if KERNEL_V_3_5
   143     default "3.4.7" if KERNEL_V_3_4_7
   144     default "3.3.8" if KERNEL_V_3_3_8
   145     default "3.2.24" if KERNEL_V_3_2_24
   146     default "3.1.10" if KERNEL_V_3_1_10
   147     default "3.0.38" if KERNEL_V_3_0_38
   148     default "2.6.39.4" if KERNEL_V_2_6_39_4
   149     default "2.6.38.8" if KERNEL_V_2_6_38_8
   150     default "2.6.37.6" if KERNEL_V_2_6_37_6
   151     default "2.6.36.4" if KERNEL_V_2_6_36_4
   152     default "2.6.33.20" if KERNEL_V_2_6_33_20
   153     default "2.6.32.59" if KERNEL_V_2_6_32_59
   154     default "2.6.31.14" if KERNEL_V_2_6_31_14
   155     default "2.6.27.62" if KERNEL_V_2_6_27_62
   156     default "custom" if KERNEL_LINUX_CUSTOM
   157 
   158 endif # ! KERNEL_LINUX_USE_CUSTOM_HEADERS
   159 
   160 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   161 
   162 config KERNEL_LINUX_CUSTOM_PATH
   163     string
   164     prompt "Path to custom headers directory/tarball"
   165     help
   166       See KERNEL_LINUX_CUSTOM_IS_TARBALL, below.
   167 
   168 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   169     bool
   170     prompt "This is a tarball"
   171     help
   172       If you say 'n' here, the path above is expected to point to a directory
   173       containing readily prepared headers
   174       
   175       If you say 'y' here, then the path above is expected to point to a
   176       tarball of such a directory.
   177       
   178       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   179       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   180       
   181       Now, passing a tarball around is easier than passing a directory, so
   182       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   183       say 'y' here, and enter the path to this tarball below.
   184 
   185 endif # KERNEL_LINUX_USE_CUSTOM_HEADERS