config/libc/uClibc.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 1029 f1b5700819cc
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 # uClibc options
     2 
     3 config LIBC_uClibc
     4     select LIBC_SUPPORT_LINUXTHREADS
     5     help
     6       The de-facto standard for embeded linux systems.
     7       Highly configurable, thus as feature-rich as you need, without
     8       compromising for size.
     9 
    10 choice
    11     bool
    12     prompt "uClibc version"
    13 
    14 config LIBC_V_0_9_28
    15     bool
    16     prompt "0.9.28 (OBSOLETE)"
    17     depends on OBSOLETE
    18 
    19 config LIBC_V_0_9_28_1
    20     bool
    21     prompt "0.9.28.1 (OBSOLETE)"
    22     depends on OBSOLETE
    23 
    24 config LIBC_V_0_9_28_2
    25     bool
    26     prompt "0.9.28.2 (OBSOLETE)"
    27     depends on OBSOLETE
    28 
    29 config LIBC_V_0_9_28_3
    30     bool
    31     prompt "0.9.28.3"
    32 
    33 config LIBC_V_0_9_29
    34     bool
    35     prompt "0.9.29"
    36 
    37 # CT_INSERT_VERSION_ABOVE
    38 # Don't remove above line!
    39 
    40 config LIBC_V_snapshot
    41     bool
    42     prompt "latest snapshot (EXPERIMENTAL)"
    43     depends on EXPERIMENTAL
    44 
    45 config LIBC_V_specific_date
    46     bool
    47     prompt "<specific date> (EXPERIMENTAL)"
    48     depends on EXPERIMENTAL
    49 
    50 endchoice
    51 
    52 config LIBC_VERSION
    53     string
    54     prompt "Enter date (YYYYMMDD)" if LIBC_V_specific_date
    55     default "snapshot" if LIBC_V_snapshot
    56     default "0.9.28" if LIBC_V_0_9_28
    57     default "0.9.28.1" if LIBC_V_0_9_28_1
    58     default "0.9.28.2" if LIBC_V_0_9_28_2
    59     default "0.9.28.3" if LIBC_V_0_9_28_3
    60     default "0.9.29" if LIBC_V_0_9_29
    61 # CT_INSERT_VERSION_STRING_ABOVE
    62 # Don't remove above line!
    63 
    64 choice
    65     bool
    66     prompt "uClibc verbosity:"
    67     default LIBC_UCLIBC_VERBOSITY_0
    68 
    69 config LIBC_UCLIBC_VERBOSITY_0
    70     bool
    71     prompt "Simplified"
    72     help
    73       Print simplified command lines.
    74 
    75 config LIBC_UCLIBC_VERBOSITY_1
    76     bool
    77     prompt "Full commands"
    78     help
    79       Print full command lines.
    80 
    81 endchoice
    82 
    83 config LIBC_UCLIBC_VERBOSITY
    84     string
    85     default ""      if LIBC_UCLIBC_VERBOSITY_0
    86     default "V=1"   if LIBC_UCLIBC_VERBOSITY_1
    87 
    88 choice
    89     bool
    90     prompt "Debug level"
    91     default LIBC_UCLIBC_DEBUG_LEVEL_0
    92 
    93 config LIBC_UCLIBC_DEBUG_LEVEL_0
    94     bool
    95     prompt "none"
    96 
    97 config LIBC_UCLIBC_DEBUG_LEVEL_1
    98     bool
    99     prompt "minimal"
   100 
   101 config LIBC_UCLIBC_DEBUG_LEVEL_2
   102     bool
   103     prompt "all"
   104 
   105 endchoice
   106 
   107 config LIBC_UCLIBC_DEBUG_LEVEL
   108     int
   109     default 0 if LIBC_UCLIBC_DEBUG_LEVEL_0
   110     default 1 if LIBC_UCLIBC_DEBUG_LEVEL_1
   111     default 2 if LIBC_UCLIBC_DEBUG_LEVEL_2
   112 
   113 config LIBC_UCLIBC_CONFIG_FILE
   114     string
   115     prompt "Configuration file"
   116     default ""
   117     help
   118       Path to the configuration file.
   119       
   120       You _must_ provide one (for now).
   121 
   122 config LIBC_UCLIBC_LOCALES
   123     bool
   124     prompt "Add support for locales"
   125     default n
   126     help
   127       Say y if you want uClibc to support localisation.
   128 
   129       Note that seems to be broken on recent uClibc releases.