config/libc/glibc.in
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Oct 14 17:42:10 2008 +0000 (2008-10-14)
changeset 929 7c958fb04f28
parent 865 04cf91f13430
child 1114 c3516fc7460d
permissions -rw-r--r--
Sample config for e500v2 toolchain

On Tuesday 14 October 2008 17:05:31 Nate Case wrote:
> This is a sample config file for Freescale e500v2 processors (e.g.,
> MPC8548, MPC8572). It uses eglibc (for e500/SPE patches) and a recent
> gcc (4.3.1, for e500v2 DPFP support) and will generate appropriate
> dual-precision floating point instructions by default.
>
> Note: If building a Linux kernel with this toolchain, you will want to
> make sure -mno-spe AND -mspe=no are passed to gcc to prevent SPE
> ABI/instructions from getting into the kernel (which is currently
> unsupported). At this time, the kernel build system only passes
> -mno-spe by default (this should be fixed soon hopefully).
>
> A binutils snapshot is used to fix a bug present in 2.18 preventing
> U-Boot from being compiled (CodeSourcery issue #2297: internal.h
> (ELF_IS_SECTION_IN_SEGMENT): Adjust to cope with segments at the end of
> memory).

Obsoletes the powerpc-unknown-linux-gnuspe sample, so remove it.

/trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 307 307 0 0 +++++++++++++++++++
1 file changed, 307 insertions(+)
yann@448
     1
# glibc options
yann@448
     2
yann@922
     3
config LIBC_glibc
yann@922
     4
    select LIBC_SUPPORT_NPTL
yann@922
     5
    select LIBC_SUPPORT_LINUXTHREADS
yann@922
     6
    help
yann@922
     7
      The de-facto standard for Linux distributions.
yann@922
     8
      Feature-rich, but large...  Most usefull for desktop-like systems.
yann@852
     9
yann@448
    10
choice
yann@448
    11
    bool
yann@448
    12
    prompt "glibc version"
yann@448
    13
yann@448
    14
config LIBC_V_2_3_6
yann@448
    15
    bool
yann@448
    16
    prompt "2.3.6 (OBSOLETE)"
yann@448
    17
    depends on OBSOLETE
yann@448
    18
yann@448
    19
config LIBC_V_2_5
yann@448
    20
    bool
yann@448
    21
    prompt "2.5"
yann@448
    22
yann@448
    23
config LIBC_V_2_5_1
yann@448
    24
    bool
yann@448
    25
    prompt "2.5.1"
yann@448
    26
yann@448
    27
config LIBC_V_2_6
yann@448
    28
    bool
yann@448
    29
    prompt "2.6"
yann@448
    30
yann@448
    31
config LIBC_V_2_6_1
yann@448
    32
    bool
yann@448
    33
    prompt "2.6.1"
yann@448
    34
yann@448
    35
config LIBC_V_2_7
yann@448
    36
    bool
yann@448
    37
    prompt "2.7"
yann@448
    38
yann@448
    39
# CT_INSERT_VERSION_ABOVE
yann@448
    40
# Don't remove above line!
yann@865
    41
yann@865
    42
config LIBC_V_LATEST
yann@865
    43
    bool
yann@865
    44
    prompt "'latest' snapshot (EXPERIMENTAL)"
yann@865
    45
    depends on EXPERIMENTAL
yann@865
    46
yann@865
    47
config LIBC_V_date
yann@865
    48
    bool
yann@865
    49
    prompt "<specific date> (EXPERIMENTAL)"
yann@865
    50
    depends on EXPERIMENTAL
yann@865
    51
yann@448
    52
endchoice
yann@448
    53
yann@448
    54
config LIBC_VERSION
yann@448
    55
    string
yann@710
    56
    prompt "Enter date (YYYYMMDD)" if LIBC_V_date
yann@710
    57
    default "latest" if LIBC_V_LATEST
yann@448
    58
    default "2.3.6" if LIBC_V_2_3_6
yann@448
    59
    default "2.4" if LIBC_V_2_4
yann@448
    60
    default "2.5" if LIBC_V_2_5
yann@448
    61
    default "2.5.1" if LIBC_V_2_5_1
yann@448
    62
    default "2.6" if LIBC_V_2_6
yann@448
    63
    default "2.6.1" if LIBC_V_2_6_1
yann@448
    64
    default "2.7" if LIBC_V_2_7
yann@448
    65
# CT_INSERT_VERSION_STRING_ABOVE
yann@448
    66
# Don't remove above line!
yann@448
    67