config/kernel/linux.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun May 03 09:50:16 2009 +0000 (2009-05-03)
branchnewlib
changeset 1366 5e5d1e6f55d3
parent 1365 c4d124ed9f8e
permissions -rw-r--r--
Update the newlib devel branch with stuff from /trunk@1498.

-------- diffstat follows --------
/devel/newlib/configure | 336 176 160 0 +++++++------
/devel/newlib/Makefile.in | 12 3 9 0 -
/devel/newlib/scripts/build/kernel/linux.sh | 2 1 1 0
/devel/newlib/scripts/build/internals.sh | 1 0 1 0 -
/devel/newlib/scripts/build/libc/eglibc.sh | 1 0 1 0 -
/devel/newlib/scripts/build/mpfr.sh | 2 1 1 0
/devel/newlib/scripts/functions | 111 5 106 0 ----
/devel/newlib/scripts/config.guess | 7 5 2 0 +
/devel/newlib/scripts/config.sub | 3 2 1 0 +
/devel/newlib/scripts/saveSample.sh.in | 4 2 2 0
/devel/newlib/docs/overview.txt | 8 6 2 0 +
/devel/newlib/samples/armeb-unknown-linux-uclibc/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/sh4-unknown-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/x86_64-unknown-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/arm-unknown-elf/crosstool.config | 12 3 9 0 -
/devel/newlib/samples/armeb-unknown-eabi/crosstool.config | 2 0 2 0 -
/devel/newlib/samples/arm-unknown-linux-gnueabi/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/ia64-unknown-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/x86_64-unknown-linux-uclibc/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/armeb-unknown-linux-gnueabi/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/i686-nptl-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/arm-unknown-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/powerpc-unknown-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/mips-unknown-linux-uclibc/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/arm-iphone-linux-gnueabi/crosstool.config | 8 4 4 0
/devel/newlib/samples/armeb-unknown-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/i586-geode-linux-uclibc/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/arm-unknown-linux-uclibc/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/powerpc-unknown-linux-uclibc/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/mips-unknown-elf/crosstool.config | 2 0 2 0 -
/devel/newlib/samples/powerpc-405-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/arm-unknown-eabi/crosstool.config | 12 3 9 0 -
/devel/newlib/samples/mipsel-unknown-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/powerpc64-unknown-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/alphaev56-unknown-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/samples/powerpc-860-linux-gnu/crosstool.config | 14 5 9 0 -
/devel/newlib/config/kernel/linux.in | 108 2 106 0 ----
/devel/newlib/config/global/ct-behave.in | 22 13 9 0 +
/devel/newlib/config/global/download.in | 210 15 195 0 +-------
/devel/newlib/config/libc/glibc.in | 7 7 0 0 +
/devel/newlib/config/libc/glibc-eglibc.in-common | 15 14 1 0 +
45 files changed, 382 insertions(+), 839 deletions(-)
yann@448
     1
# Linux kernel options
yann@448
     2
yann@861
     3
config KERNEL_linux
yann@861
     4
    help
yann@861
     5
      Build a toolchain targeting systems running Linux as a kernel.
yann@861
     6
yann@448
     7
choice
yann@448
     8
    bool
yann@448
     9
    prompt "Get kernel headers from:"
yann@448
    10
yann@858
    11
config KERNEL_LINUX_INSTALL
yann@448
    12
    bool
yann@448
    13
    prompt "kernel's 'headers_install'"
yann@448
    14
    help
yann@448
    15
      This will make use of the new headers_install rule in recent kernels.
yann@448
    16
      This is most probably what you want to use.
yann@448
    17
yann@858
    18
if KERNEL_LINUX_INSTALL
yann@858
    19
yann@858
    20
config KERNEL_LINUX_INSTALL_CHECK
yann@448
    21
    bool
yann@858
    22
    prompt "Check installed headers"
yann@858
    23
    default y
yann@448
    24
    help
yann@858
    25
      If you are in doubt that installed headers are buggy, say 'Y'
yann@858
    26
      here to have an extra check passed onto the headers.
yann@448
    27
yann@858
    28
choice
yann@858
    29
    bool
yann@858
    30
    prompt "Linux kernel version"
yann@858
    31
yann@858
    32
config KERNEL_V_2_6_18_8
yann@858
    33
    bool
yann@858
    34
    prompt "2.6.18.8 (OBSOLETE)"
yann@858
    35
    depends on OBSOLETE
yann@858
    36
yann@858
    37
config KERNEL_V_2_6_19_7
yann@858
    38
    bool
yann@858
    39
    prompt "2.6.19.7 (OBSOLETE)"
yann@858
    40
    depends on OBSOLETE
yann@858
    41
yann@858
    42
config KERNEL_V_2_6_20_21
yann@858
    43
    bool
yann@858
    44
    prompt "2.6.20.21 (OBSOLETE)"
yann@858
    45
    depends on OBSOLETE
yann@858
    46
yann@858
    47
config KERNEL_V_2_6_21_7
yann@858
    48
    bool
yann@858
    49
    prompt "2.6.21.7 (OBSOLETE)"
yann@858
    50
    depends on OBSOLETE
yann@858
    51
yann@858
    52
config KERNEL_V_2_6_22_19
yann@858
    53
    bool
yann@858
    54
    prompt "2.6.22.19 (OBSOLETE)"
yann@858
    55
    depends on OBSOLETE
yann@858
    56
yann@858
    57
config KERNEL_V_2_6_23_17
yann@858
    58
    bool
yann@858
    59
    prompt "2.6.23.17 (OBSOLETE)"
yann@858
    60
    depends on OBSOLETE
yann@858
    61
yann@858
    62
config KERNEL_V_2_6_24_7
yann@858
    63
    bool
yann@858
    64
    prompt "2.6.24.7 (OBSOLETE)"
yann@858
    65
    depends on OBSOLETE
yann@858
    66
yann@1042
    67
config KERNEL_V_2_6_25_20
yann@911
    68
    bool
yann@1042
    69
    prompt "2.6.25.20 (OBSOLETE)"
yann@915
    70
    depends on OBSOLETE
yann@911
    71
yann@1042
    72
config KERNEL_V_2_6_26_8
yann@1042
    73
    bool
yann@1365
    74
    prompt "2.6.26.8 (OBSOLETE)"
yann@1365
    75
    depends on OBSOLETE
yann@1042
    76
yann@1365
    77
config KERNEL_V_2_6_27_21
yann@1365
    78
    bool
yann@1366
    79
    prompt "2.6.27.21 (OBSOLETE)"
yann@1366
    80
    depends on OBSOLETE
yann@1365
    81
yann@1108
    82
config KERNEL_V_2_6_28
yann@1108
    83
    bool
yann@1108
    84
    prompt "2.6.28"
yann@1108
    85
yann@1145
    86
config KERNEL_V_2_6_28_1
yann@1145
    87
    bool
yann@1145
    88
    prompt "2.6.28.1"
yann@1145
    89
yann@1160
    90
config KERNEL_V_2_6_28_2
yann@1160
    91
    bool
yann@1160
    92
    prompt "2.6.28.2"
yann@1160
    93
yann@1194
    94
config KERNEL_V_2_6_28_3
yann@1194
    95
    bool
yann@1194
    96
    prompt "2.6.28.3"
yann@1194
    97
yann@1203
    98
config KERNEL_V_2_6_28_4
yann@1203
    99
    bool
yann@1203
   100
    prompt "2.6.28.4"
yann@1203
   101
yann@1210
   102
config KERNEL_V_2_6_28_5
yann@1210
   103
    bool
yann@1210
   104
    prompt "2.6.28.5"
yann@1210
   105
yann@1224
   106
config KERNEL_V_2_6_28_6
yann@1224
   107
    bool
yann@1224
   108
    prompt "2.6.28.6"
yann@1224
   109
yann@1224
   110
config KERNEL_V_2_6_28_7
yann@1224
   111
    bool
yann@1224
   112
    prompt "2.6.28.7"
yann@1224
   113
yann@1365
   114
config KERNEL_V_2_6_28_8
yann@1365
   115
    bool
yann@1365
   116
    prompt "2.6.28.8"
yann@1365
   117
yann@1365
   118
config KERNEL_V_2_6_28_9
yann@1365
   119
    bool
yann@1365
   120
    prompt "2.6.28.9"
yann@1365
   121
yann@1365
   122
config KERNEL_V_2_6_29
yann@1365
   123
    bool
yann@1365
   124
    prompt "2.6.29"
yann@1365
   125
yann@1365
   126
config KERNEL_V_2_6_29_1
yann@1365
   127
    bool
yann@1365
   128
    prompt "2.6.29.1"
yann@1365
   129
yann@858
   130
# CT_INSERT_VERSION_ABOVE
yann@858
   131
# Don't remove above line!
yann@1365
   132
yann@1365
   133
config KERNEL_V_select
yann@1365
   134
    bool
yann@1365
   135
    prompt "Other version (EXPERIMENTAL)"
yann@1365
   136
    depends on EXPERIMENTAL
yann@1365
   137
yann@448
   138
endchoice
yann@448
   139
yann@858
   140
config KERNEL_VERSION
yann@858
   141
    string
yann@1365
   142
    prompt "Kernel version" if KERNEL_V_select
yann@858
   143
    default "2.6.18.8" if KERNEL_V_2_6_18_8
yann@858
   144
    default "2.6.19.7" if KERNEL_V_2_6_19_7
yann@858
   145
    default "2.6.20.21" if KERNEL_V_2_6_20_21
yann@858
   146
    default "2.6.21.7" if KERNEL_V_2_6_21_7
yann@858
   147
    default "2.6.22.19" if KERNEL_V_2_6_22_19
yann@858
   148
    default "2.6.23.17" if KERNEL_V_2_6_23_17
yann@858
   149
    default "2.6.24.7" if KERNEL_V_2_6_24_7
yann@1042
   150
    default "2.6.25.20" if KERNEL_V_2_6_25_20
yann@1042
   151
    default "2.6.26.8" if KERNEL_V_2_6_26_8
yann@1365
   152
    default "2.6.27.21" if KERNEL_V_2_6_27_21
yann@1108
   153
    default "2.6.28" if KERNEL_V_2_6_28
yann@1145
   154
    default "2.6.28.1" if KERNEL_V_2_6_28_1
yann@1160
   155
    default "2.6.28.2" if KERNEL_V_2_6_28_2
yann@1194
   156
    default "2.6.28.3" if KERNEL_V_2_6_28_3
yann@1203
   157
    default "2.6.28.4" if KERNEL_V_2_6_28_4
yann@1210
   158
    default "2.6.28.5" if KERNEL_V_2_6_28_5
yann@1224
   159
    default "2.6.28.6" if KERNEL_V_2_6_28_6
yann@1224
   160
    default "2.6.28.7" if KERNEL_V_2_6_28_7
yann@1365
   161
    default "2.6.28.8" if KERNEL_V_2_6_28_8
yann@1365
   162
    default "2.6.28.9" if KERNEL_V_2_6_28_9
yann@1365
   163
    default "2.6.29" if KERNEL_V_2_6_29
yann@1365
   164
    default "2.6.29.1" if KERNEL_V_2_6_29_1
yann@858
   165
# CT_INSERT_VERSION_STRING_ABOVE
yann@858
   166
# Don't remove above line!
yann@1365
   167
    help
yann@1365
   168
      Enter here the kernel version you want to use, if it is
yann@1365
   169
      not listed above. Something like V.P.S or V.P.S.E, where:
yann@1365
   170
        V: VERSION
yann@1365
   171
        P: PATCHLEVEL
yann@1365
   172
        S: SUBLEVEL
yann@1365
   173
        E: EXTRAVERSION
yann@448
   174
yann@448
   175
choice
yann@448
   176
    bool
yann@448
   177
    prompt "Kernel verbosity:"
yann@448
   178
    default KERNEL_LINUX_VERBOSITY_0
yann@448
   179
yann@448
   180
config KERNEL_LINUX_VERBOSITY_0
yann@448
   181
    bool
yann@448
   182
    prompt "Simplified"
yann@448
   183
    help
yann@448
   184
      Print simplified command lines.
yann@448
   185
yann@448
   186
config KERNEL_LINUX_VERBOSITY_1
yann@448
   187
    bool
yann@448
   188
    prompt "Full commands"
yann@448
   189
    help
yann@448
   190
      Print full command lines.
yann@448
   191
yann@448
   192
config KERNEL_LINUX_VERBOSITY_2
yann@448
   193
    bool
yann@448
   194
    prompt "Exec reasons"
yann@448
   195
    help
yann@448
   196
      Print the reasons why a make target is rebuild.
yann@448
   197
yann@448
   198
endchoice
yann@448
   199
yann@448
   200
config KERNEL_LINUX_VERBOSE_LEVEL
yann@448
   201
    int
yann@448
   202
    default 0 if KERNEL_LINUX_VERBOSITY_0
yann@448
   203
    default 1 if KERNEL_LINUX_VERBOSITY_1
yann@448
   204
    default 2 if KERNEL_LINUX_VERBOSITY_2
yann@448
   205
yann@448
   206
endif
yann@856
   207
yann@1222
   208
config KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@858
   209
    bool
yann@1221
   210
    prompt "Use custom headers"
yann@858
   211
    help
yann@858
   212
      If you have some kernel headers lying around, you can enter the path
yann@858
   213
      below.
yann@858
   214
yann@1222
   215
if KERNEL_LINUX_USE_CUSTOM_HEADERS
yann@1221
   216
yann@1221
   217
config KERNEL_LINUX_CUSTOM_IS_TARBALL
yann@1221
   218
    bool
yann@1221
   219
    prompt "This is a tarball"
yann@1221
   220
    default n
yann@1221
   221
    help
yann@1221
   222
      If you say 'n' here, the path below is expected to point to a directory
yann@1221
   223
      containing readily prepared headers
yann@1221
   224
      
yann@1221
   225
      If you say 'y' here, then the path below is expected to point to a
yann@1221
   226
      tarball of such a directory.
yann@1221
   227
      
yann@1221
   228
      Eg., if your headers are available in: /foo/bar/buz/my_hdrs/include,
yann@1221
   229
      say 'n' here, and enter: /foo/bar/buz/my_hdrs below.
yann@1221
   230
      
yann@1221
   231
      Now, passing a tarball around is easier than passing a directory, so
yann@1221
   232
      if you want to, you can make a tarball of /foo/bar/buz/my_hdrs/include,
yann@1221
   233
      say 'y' here, and enter the path to this tarball below.
yann@1221
   234
yann@1221
   235
config KERNEL_LINUX_CUSTOM_PATH
yann@856
   236
    string
yann@1221
   237
    prompt "Path to custom headers directory/tarball"
yann@856
   238
    help
yann@1221
   239
      See KERNEL_LINUX_CUSTOM_IS_TARBALL, above.
yann@1221
   240
yann@1221
   241
endif # KERNEL_LINUX_USE_CUSTOM_DIR
yann@858
   242
yann@858
   243
endchoice