config/kernel/linux.in
author Arnaud Lacombe <lacombar@gmail.com>
Thu Aug 05 17:59:51 2010 +0200 (2010-08-05)
changeset 2069 366bd2b22675
parent 2062 11348ef5f0ac
child 2104 975294cdc8f5
permissions -rw-r--r--
complibs/mpc: fix MPC 0.8.1 build with MPFR 3.0.0

This is the change introduced by revision 734 of MPC repository.

Author: Paul Zimmermann <Paul.Zimmermann@loria.fr>
Revision log: [acos.c] fixed problem with GMP_RNDA (should be MPFR_RNDA, and code was wrong)

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
yann@1345
     1
# Linux kernel options
yann@1345
     2
yann@448
     3
# Linux kernel options
yann@448
     4
yann@861
     5
config KERNEL_linux
yann@1500
     6
    select KERNEL_SUPPORTS_SHARED_LIBS
yann@861
     7
    help
yann@861
     8
      Build a toolchain targeting systems running Linux as a kernel.
yann@861
     9
yann@1345
    10
choice
yann@1345
    11
    bool
yann@1345
    12
    prompt "Get kernel headers from:"
yann@1345
    13
yann@1345
    14
config KERNEL_LINUX_INSTALL
yann@1345
    15
    bool
yann@1345
    16
    prompt "kernel's 'headers_install'"
yann@1345
    17
    help
yann@1345
    18
      This will make use of the new headers_install rule in recent kernels.
yann@1345
    19
      This is most probably what you want to use.
yann@1345
    20
yann@1345
    21
if KERNEL_LINUX_INSTALL
yann@1345
    22
yann@1345
    23
choice
yann@1345
    24
    bool
yann@1345
    25
    prompt "Linux kernel version"
yann@1535
    26
# Don't remove next line
yann@1535
    27
# CT_INSERT_VERSION_BELOW
yann@1345
    28
lacombar@2062
    29
config KERNEL_V_2_6_35
lacombar@2062
    30
    bool
lacombar@2062
    31
    prompt "2.6.35"
lacombar@2062
    32
lacombar@2062
    33
config KERNEL_V_2_6_34_2
lacombar@2062
    34
    bool
lacombar@2062
    35
    prompt "2.6.34.2"
lacombar@2062
    36
js@2011
    37
config KERNEL_V_2_6_34_1
js@2011
    38
    bool
js@2011
    39
    prompt "2.6.34.1"
js@2011
    40
yann@1952
    41
config KERNEL_V_2_6_34
yann@1952
    42
    bool
yann@1952
    43
    prompt "2.6.34"
yann@1952
    44
lacombar@2062
    45
config KERNEL_V_2_6_33_7
lacombar@2062
    46
    bool
lacombar@2062
    47
    prompt "2.6.33.7"
lacombar@2062
    48
lacombar@2062
    49
config KERNEL_V_2_6_32_17
yann@1790
    50
    bool
lacombar@2062
    51
    prompt "2.6.32.17"
yann@1665
    52
js@2011
    53
config KERNEL_V_2_6_31_14
jocke@1702
    54
    bool
js@2011
    55
    prompt "2.6.31.14"
yann@1534
    56
yann@1665
    57
config KERNEL_V_2_6_30_10
yann@1665
    58
    bool
yann@1665
    59
    prompt "2.6.30.10"
yann@1665
    60
lacombar@2062
    61
config KERNEL_V_2_6_27_49
yann@1534
    62
    bool
lacombar@2062
    63
    prompt "2.6.27.49 (long-term stable)"
jocke@1702
    64
    help
jocke@1702
    65
      The Linux 2.6.27 tree is the current "long-term stable" maintenance branch.
jocke@1702
    66
      It is intended to fill the niche for users who are not using distribution
jocke@1702
    67
      kernels but want to use a regression-free kernel for a longer time.
jocke@1702
    68
      
jocke@1702
    69
      Critical bug fixes to later 2.6 releases are often ported to this branch
jocke@1702
    70
      which makes 2.6.27 a very useful base for many embedded developers seeking
jocke@1702
    71
      stable APIs or those who do not need the latest bleeding edge features.
jocke@1702
    72
      
jocke@1702
    73
      ... and no, this kernel has not undergone any specific QA testing.
jocke@1702
    74
      
jocke@1702
    75
      See the original announcement by Adrian Bunk in the following mailing list
jocke@1702
    76
      entry: http://marc.info/?l=linux-kernel&m=122375909403298&w=2
yann@1534
    77
yann@1990
    78
config KERNEL_LINUX_CUSTOM
yann@1990
    79
    bool
yann@1990
    80
    prompt "custom tarball"
yann@1990
    81
    help
yann@1990
    82
      Use a local tarball of a complete kernel source tree.
yann@1990
    83
yann@1990
    84
config KERNEL_LINUX_CUSTOM_TARBALL
yann@1990
    85
    string
yann@1990
    86
    prompt "Path to custom tarball"
yann@1990
    87
    depends on KERNEL_LINUX_CUSTOM
yann@1990
    88
    help
yann@1990
    89
      Enter here the path to the tarball of your full kernel tree.
yann@1990
    90
yann@1345
    91
endchoice
yann@1345
    92
yann@1345
    93
config KERNEL_VERSION
yann@1345
    94
    string
yann@1535
    95
# Don't remove next line
yann@1535
    96
# CT_INSERT_VERSION_STRING_BELOW
lacombar@2062
    97
    default "2.6.35" if KERNEL_V_2_6_35
lacombar@2062
    98
    default "2.6.34.2" if KERNEL_V_2_6_34_2
js@2011
    99
    default "2.6.34.1" if KERNEL_V_2_6_34_1
yann@1952
   100
    default "2.6.34" if KERNEL_V_2_6_34
lacombar@2062
   101
    default "2.6.33.7" if KERNEL_V_2_6_33_7
lacombar@2062
   102
    default "2.6.32.17" if KERNEL_V_2_6_32_17
js@2011
   103
    default "2.6.31.14" if KERNEL_V_2_6_31_14
yann@1665
   104
    default "2.6.30.10" if KERNEL_V_2_6_30_10
lacombar@2062
   105
    default "2.6.27.49" if KERNEL_V_2_6_27_49
yann@1345
   106
yann@1345
   107
choice
yann@1345
   108
    bool
yann@1345
   109
    prompt "Kernel verbosity:"
yann@1345
   110
    default KERNEL_LINUX_VERBOSITY_0
yann@1345
   111
yann@1345
   112
config KERNEL_LINUX_VERBOSITY_0
yann@1345
   113
    bool
yann@1345
   114
    prompt "Simplified"
yann@1345
   115
    help
yann@1345
   116
      Print simplified command lines.
yann@1345
   117
yann@1345
   118
config KERNEL_LINUX_VERBOSITY_1
yann@1345
   119
    bool
yann@1345
   120
    prompt "Full commands"
yann@1345
   121
    help
yann@1345
   122
      Print full command lines.
yann@1345
   123
yann@1345
   124
config KERNEL_LINUX_VERBOSITY_2
yann@1345
   125
    bool
yann@1345
   126
    prompt "Exec reasons"
yann@1345
   127
    help
yann@1345
   128
      Print the reasons why a make target is rebuild.
yann@1345
   129
yann@1345
   130
endchoice
yann@1345
   131
yann@1345
   132
config KERNEL_LINUX_VERBOSE_LEVEL
yann@1345
   133
    int
yann@1345
   134
    default 0 if KERNEL_LINUX_VERBOSITY_0
yann@1345
   135
    default 1 if KERNEL_LINUX_VERBOSITY_1
yann@1345
   136
    default 2 if KERNEL_LINUX_VERBOSITY_2
yann@1345
   137
yann@1989
   138
config KERNEL_LINUX_INSTALL_CHECK
yann@1989
   139
    bool
yann@1989
   140
    prompt "Check installed headers"
yann@1989
   141
    default y
yann@1989
   142
    help
yann@1989
   143
      If you are in doubt that installed headers are buggy, say 'Y'
yann@1989
   144
      here to have an extra check passed onto the headers.
yann@1989
   145
yann@1989
   146
endif # KERNEL_LINUX_INSTALL
yann@1345
   147
yann@1345
   148
config KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@1345
   149
    bool
yann@1990
   150
    prompt "pre-installed headers tree"
yann@1345
   151
    help
yann@1990
   152
      If you have some pre-installed kernel headers lying around, you can
yann@1990
   153
      enter the path to these headers, below, they will be copied from
yann@1990
   154
      there, and into the toolchain's sysroot.
yann@1990
   155
      
yann@1990
   156
      Note:
yann@1990
   157
      This will *not* let you use a complete kernel tree!
yann@1990
   158
      If you want to use your own full kernel tree, then you want to
yann@1990
   159
      say 'Y' to KERNEL_LINUX_INSTALL, above, and select KERNEL_LINUX_CUSTOM.
yann@1345
   160
yann@1345
   161
if KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@1345
   162
yann@1345
   163
config KERNEL_LINUX_CUSTOM_IS_TARBALL
yann@1345
   164
    bool
yann@1345
   165
    prompt "This is a tarball"
yann@1345
   166
    default n
yann@1345
   167
    help
yann@1345
   168
      If you say 'n' here, the path below is expected to point to a directory
yann@1345
   169
      containing readily prepared headers
yann@1345
   170
      
yann@1345
   171
      If you say 'y' here, then the path below is expected to point to a
yann@1345
   172
      tarball of such a directory.
yann@1345
   173
      
yann@1345
   174
      Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
yann@1345
   175
      say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
yann@1345
   176
      
yann@1345
   177
      Now, passing a tarball around is easier than passing a directory, so
yann@1345
   178
      if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
yann@1345
   179
      say 'y' here, and enter the path to this tarball below.
yann@1345
   180
yann@1345
   181
config KERNEL_LINUX_CUSTOM_PATH
yann@1345
   182
    string
yann@1345
   183
    prompt "Path to custom headers directory/tarball"
yann@1345
   184
    help
yann@1345
   185
      See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
yann@1345
   186
yann@1989
   187
endif # KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@1345
   188
yann@1345
   189
endchoice