kumquat-buildroot/toolchain
Thomas Petazzoni 07d15f907b ext-toolchain: Fix ARCH_SYSROOT detection
For the detection of the ARCH_SYSROOT_DIR (which contains the C
library variant specific to the compiler flags), we used to pass only
the -march argument instead of the full TARGET_CFLAGS. This was done
because TARGET_CFLAGS contains --sysroot, and we don't want to tell
here the compiler which sysroot to use, because we're specifically
asking the compiler where the *normal* arch sysroot directory is.

Unfortunately, there are some multilib variants that aren't decided
only based on -march, but also on -msoft-float or other compiler
flags. Therefore, we take the opposite approach: pass the full
TARGET_CFLAGS, from which we have stripped the --sysroot option.

For example, this allows a PowerPC CodeSourcery toolchain, on which
we're using the soft-float multilib variant, to work properly as an
external toolchain.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-06 07:55:59 +02:00
..
binutils toolchain: remove unused special detection of old toolchains 2010-07-02 09:13:30 +02:00
ccache ccache: fix ccache-target dependencies 2010-05-03 15:13:19 +02:00
dependencies check-host-sed.sh: use mktemp for temporary file 2010-06-21 23:02:31 +02:00
elf2flt get rid of broken nios2 support 2010-03-30 17:19:59 +02:00
external-toolchain ext-toolchain: Fix ARCH_SYSROOT detection 2010-07-06 07:55:59 +02:00
gcc toolchain: remove unused special detection of old toolchains 2010-07-02 09:13:30 +02:00
gdb toolchain/gdb: get rid of 6.4 / 6.5 2010-05-03 00:18:50 +02:00
kernel-headers kernel-headers: bump 2.6.31-34 stable versions 2010-07-06 00:38:54 +02:00
mklibs toolchain/: get rid of unneeded $(strip ..) 2008-12-08 08:15:42 +00:00
sstrip toolchain/: get rid of unneeded $(strip ..) 2008-12-08 08:15:42 +00:00
uClibc uClibc: 0.9.31.config: enable UCLIBC_SV4_DEPRECATED option 2010-06-18 11:48:58 +02:00
Config.in toolchain: get rid of "binary" for external toolchain 2010-02-08 11:01:04 +01:00
Config.in.1 Use BR2_TOOLCHAIN_BUILDROOT instead of BR2_TOOLCHAIN_SOURCE 2009-12-14 23:54:47 +01:00
Config.in.2 toolchain: remove gcc 4.1.2 and non-sysroot support 2010-06-15 23:16:55 +02:00
Makefile.in toolchain: remove gcc 4.1.2 and non-sysroot support 2010-06-15 23:16:55 +02:00
patch-kernel.sh toolchain/patch-kernel.sh: xtensa directory overlay support 2009-07-24 02:31:34 +02:00
wget-show-external-deps.sh