samples/powerpc-e500v2-linux-gnuspe/reported.by
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Jan 28 22:06:49 2011 +0100 (2011-01-28)
changeset 2284 7ede374110e5
parent 2139 983823b3b569
child 2290 ba82eb173bd4
permissions -rw-r--r--
config: add an option not to remove the destination directory

In certain circumstances, removing the destination/installation directory
is a bad idea. For example, when the build environment is already taking
care of sanitising the build tree, and pre-installs stuff in there, it is
a very bad idea to remove the destination directory.

This happens now in buildroot, as the crostool-NG backend now installs the
toolchain in the common host-tools directory, and pre-install there a few
host-utilities (eg. host-automake and host-gawk).

Provide a config knob to turn on/off the removal of the destination
directory, defaulting to 'y' (previous behavior), and forced to 'n' when
used as a backend.

Reported-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
yann@2139
     1
reporter_name="Anthony Foiani <anthony.foiani@gmail.com>"
yann@2139
     2
reporter_url="http://sourceware.org/ml/crossgcc/2010-09/msg00100.html"
yann@2173
     3
reporter_comment="
yann@2173
     4
This is a sample config file for Freescale e500v2 processors (e.g., MPC8548,
yann@2173
     5
MPC8572). It uses eglibc (for e500/SPE patches) and a recent gcc (4.5.1,
yann@2173
     6
for e500v2 DPFP support) and will generate appropriate dual-precision
yann@2173
     7
floating point instructions by default.
yann@935
     8
yann@2173
     9
Note: If building a Linux kernel with this toolchain, you will want to make
yann@2173
    10
sure -mno-spe AND -mspe=no are passed to gcc to prevent SPE ABI/instructions
yann@2173
    11
from getting into the kernel (which is currently unsupported). At this time,
yann@2173
    12
the kernel build system properly passes those two options, but older kernels
yann@2173
    13
were only passing -mno-spe by default."