config/global/extract.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
child 1510 0d601781661d
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@693
     1
# Options specific to extracting packages
yann@693
     2
yann@693
     3
comment "Extracting"
yann@693
     4
yann@693
     5
config FORCE_EXTRACT
yann@693
     6
    bool
yann@693
     7
    prompt "Force extractions"
yann@693
     8
    default n
yann@693
     9
    help
yann@693
    10
      Force extraction of already exctracted tarballs.
yann@693
    11
      
yann@693
    12
      Usefull if you suspect a previous extract did not complete (eg. broken
yann@693
    13
      tarball), or you added a new set of patches for this component.
yann@693
    14
yann@693
    15
config OVERIDE_CONFIG_GUESS_SUB
yann@693
    16
    bool
yann@693
    17
    prompt "Override config.{guess,sub}"
yann@693
    18
    default y
yann@693
    19
    help
yann@693
    20
      Override tools' versions of config.guess and config.sub with the ones
yann@693
    21
      from crosstool-NG. This means that all instances of config.guess and
yann@693
    22
      config.sub in gcc, binutils, glibc, etc... will be replaced.
yann@693
    23
yann@693
    24
      Most of the time, the versions of those scripts found in packages are old
yann@693
    25
      versions, thus lacking some target definitions. This is the case for
yann@693
    26
      uClibc-based tuples in old versions of gcc and gdb, for example.
yann@693
    27
yann@693
    28
      Also, doing so will guarantee that all components have the same tuples
yann@693
    29
      definitions for your target, and not diverging ones.
yann@693
    30
yann@693
    31
      You can update the ones provided with crosstool-NG by first running:
yann@693
    32
        ct-ng updatetools
yann@693
    33
      in the directory where you want to run crosstool-NG prior to the build.
yann@693
    34
yann@693
    35
config ONLY_EXTRACT
yann@693
    36
    bool
yann@693
    37
    prompt "Stop after extracting tarballs"
yann@693
    38
    default n
yann@693
    39
    help
yann@693
    40
      Exit after unpacking and patching tarballs.
yann@693
    41
      
yann@693
    42
      Usefull to look at the code before doing the build itself.