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