config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Oct 09 22:49:28 2010 +0200 (2010-10-09)
changeset 2143 c7126e94e286
parent 2135 ffef1f437106
child 2158 cff04df67d28
permissions -rw-r--r--
cc/gcc: add option to enable 128-bit long doubles

Needed by some PPC targets, at least.
Requires gcc 4.2+ (noticed by Arnaud LACOMBE).

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