config/kernel/linux.in
author Titus von Boxberg <titus@v9g.de>
Sun Aug 21 17:54:12 2011 +0200 (2011-08-21)
branch1.12
changeset 2635 daa630f28c05
parent 2566 4d898ff53231
child 2596 efe5f40c84c1
permissions -rw-r--r--
complibs/libelf: use target ranlib

For portability, the right ranlib for the target must be passed to
libelf's configure.

Signed-off-by: "Titus von Boxberg" <titus@v9g.de>
(transplanted from e4a6fefcb0f5ecbcade3ae5edbe609560843aed1)
     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 choice
     8     bool
     9     prompt "Get kernel headers from:"
    10 
    11 config KERNEL_LINUX_INSTALL
    12     bool
    13     prompt "kernel's 'headers_install'"
    14     help
    15       This will make use of the new headers_install rule in recent kernels.
    16       This is most probably what you want to use.
    17 
    18 config KERNEL_LINUX_USE_CUSTOM_HEADERS
    19     bool
    20     prompt "pre-installed headers tree"
    21     help
    22       If you have some pre-installed kernel headers lying around, you can
    23       enter the path to these headers, below, they will be copied from
    24       there, and into the toolchain's sysroot.
    25       
    26       Note:
    27       This will *not* let you use a complete kernel tree!
    28       If you want to use your own full kernel tree, then you want to
    29       say 'Y' to KERNEL_LINUX_INSTALL, above, and select KERNEL_LINUX_CUSTOM.
    30 
    31 endchoice
    32 
    33 if KERNEL_LINUX_INSTALL
    34 
    35 choice
    36     bool
    37     prompt "Linux kernel version"
    38 # Don't remove next line
    39 # CT_INSERT_VERSION_BELOW
    40 
    41 config KERNEL_V_3_0
    42     bool
    43     prompt "3.0"
    44 
    45 config KERNEL_V_2_6_39_3
    46     bool
    47     prompt "2.6.39.3"
    48 
    49 config KERNEL_V_2_6_39_2
    50     bool
    51     prompt "2.6.39.2"
    52 
    53 config KERNEL_V_2_6_39_1
    54     bool
    55     prompt "2.6.39.1"
    56 
    57 config KERNEL_V_2_6_39
    58     bool
    59     prompt "2.6.39"
    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_35_13
    74     bool
    75     prompt "2.6.35.13 (longterm)"
    76     help
    77       The Linux 2.6.35 tree is a "longterm" maintenance branch.
    78       
    79       It is intended to fill the niche for users who are not using distribution
    80       kernels but want to use a regression-free kernel for a longer time.
    81       
    82       Critical bug fixes to later 2.6 releases are often ported to this branch
    83       which makes 2.6.35 a very useful base for many embedded developers seeking
    84       stable APIs or those who do not need the latest bleeding edge features.
    85       
    86       ... and no, this kernel has not undergone any specific QA testing.
    87       
    88       See the original announcement by Andi Kleen in the following mailing
    89       list entry:
    90         http://marc.info/?l=linux-kernel&m=129136895415202&w=4
    91 
    92 config KERNEL_V_2_6_34_10
    93     bool
    94     prompt "2.6.34.10"
    95 
    96 config KERNEL_V_2_6_33_16
    97     bool
    98     prompt "2.6.33.16"
    99 
   100 config KERNEL_V_2_6_32_43
   101     bool
   102     prompt "2.6.32.43 (longterm)"
   103     help
   104       The Linux 2.6.32 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.32 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 Greg Kroah-Hartman in the following
   116       mailing list entry:
   117         http://marc.info/?l=linux-kernel&m=126384198403392&w=4
   118 
   119 config KERNEL_V_2_6_31_14
   120     bool
   121     prompt "2.6.31.14"
   122 
   123 config KERNEL_V_2_6_27_59
   124     bool
   125     prompt "2.6.27.59 (longterm)"
   126     help
   127       The Linux 2.6.27 tree is a "longterm" maintenance branch.
   128       
   129       It is intended to fill the niche for users who are not using distribution
   130       kernels but want to use a regression-free kernel for a longer time.
   131       
   132       Critical bug fixes to later 2.6 releases are often ported to this branch
   133       which makes 2.6.27 a very useful base for many embedded developers seeking
   134       stable APIs or those who do not need the latest bleeding edge features.
   135       
   136       ... and no, this kernel has not undergone any specific QA testing.
   137       
   138       See the original announcement by Adrian Bunk in the following mailing list
   139       entry:
   140         http://marc.info/?l=linux-kernel&m=122375909403298&w=4
   141       
   142       It is now maintained by Greg Kroah-Hartman, see this mailing list entry:
   143         http://marc.info/?l=linux-kernel&m=129133701916793&w=4
   144 
   145 config KERNEL_LINUX_CUSTOM
   146     bool
   147     prompt "custom tarball"
   148     help
   149       Use a local tarball of a complete kernel source tree.
   150 
   151 config KERNEL_LINUX_CUSTOM_TARBALL
   152     string
   153     prompt "Path to custom tarball"
   154     depends on KERNEL_LINUX_CUSTOM
   155     help
   156       Enter here the path to the tarball of your full kernel tree.
   157 
   158 endchoice
   159 
   160 config KERNEL_VERSION
   161     string
   162 # Don't remove next line
   163 # CT_INSERT_VERSION_STRING_BELOW
   164     default "3.0" if KERNEL_V_3_0
   165     default "2.6.39.3" if KERNEL_V_2_6_39_3
   166     default "2.6.39.2" if KERNEL_V_2_6_39_2
   167     default "2.6.39.1" if KERNEL_V_2_6_39_1
   168     default "2.6.39" if KERNEL_V_2_6_39
   169     default "2.6.38.8" if KERNEL_V_2_6_38_8
   170     default "2.6.37.6" if KERNEL_V_2_6_37_6
   171     default "2.6.36.4" if KERNEL_V_2_6_36_4
   172     default "2.6.35.13" if KERNEL_V_2_6_35_13
   173     default "2.6.34.10" if KERNEL_V_2_6_34_10
   174     default "2.6.33.16" if KERNEL_V_2_6_33_16
   175     default "2.6.32.43" if KERNEL_V_2_6_32_43
   176     default "2.6.31.14" if KERNEL_V_2_6_31_14
   177     default "2.6.27.59" if KERNEL_V_2_6_27_59
   178 
   179 endif # KERNEL_LINUX_INSTALL
   180 
   181 if KERNEL_LINUX_USE_CUSTOM_HEADERS
   182 
   183 config KERNEL_LINUX_CUSTOM_PATH
   184     string
   185     prompt "Path to custom headers directory/tarball"
   186     help
   187       See KERNEL_LINUX_CUSTOM_IS_TARBALL, below.
   188 
   189 config KERNEL_LINUX_CUSTOM_IS_TARBALL
   190     bool
   191     prompt "This is a tarball"
   192     help
   193       If you say 'n' here, the path above is expected to point to a directory
   194       containing readily prepared headers
   195       
   196       If you say 'y' here, then the path above is expected to point to a
   197       tarball of such a directory.
   198       
   199       Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
   200       say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
   201       
   202       Now, passing a tarball around is easier than passing a directory, so
   203       if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
   204       say 'y' here, and enter the path to this tarball below.
   205 
   206 endif # KERNEL_LINUX_USE_CUSTOM_HEADERS