config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@free.fr>
Sun May 05 18:34:20 2013 +0200 (2013-05-05)
changeset 3212 4c0d4394d0b0
parent 3202 9aa33c435b0b
child 3227 1048e4dca434
permissions -rw-r--r--
scripts: help debugging missing directories

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