buildroot/toolchain
Yann E. MORIN 6db57c6936 toolchain: fix using external toolchains built with buildroot
The toolchains built with buildroot use specially crafted paths for their
sysroot and prefix. Fix that by asking gcc where it finds a file we
know by relative path to the sysroot.

This has the side effect of greatly simplifying the sysroot detection
in every cases tested so far (BR toolchains, CT-NG toolchains, and
CodeSourcery toolchains).

Fixes bug #851.

Thanks Thomas Petazzoni for the hint and some testings.
Thanks Grant Edwards for the report and the comments.

Signed-off-by: Yann E. MORIN <yann.morin.1998@anciens.enib.fr>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-04-07 09:49:20 +02:00
..
binutils get rid of broken nios2 support 2010-03-30 17:19:59 +02:00
ccache ccache: remove cleanup of documentation 2010-02-20 19:31:04 +01:00
dependencies dependencies: we need tar and wget as well 2010-04-06 16:40:42 +02:00
elf2flt get rid of broken nios2 support 2010-03-30 17:19:59 +02:00
external-toolchain toolchain: fix using external toolchains built with buildroot 2010-04-07 09:49:20 +02:00
gcc gcc: hide shared libgcc option if BR2_PREFER_STATIC_LIB is enabled 2010-04-05 13:48:10 +02:00
gdb get rid of broken nios2 support 2010-03-30 17:19:59 +02:00
kernel-headers kernel-headers: add 2.6.33 scsi fix, tweak 2.6.31/32 patches 2010-04-07 09:15:34 +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 dnslookup use after free fix 2010-04-06 15:37:14 +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 get rid of broken nios2 support 2010-03-30 17:19:59 +02:00
Makefile.in rename TOOL_BUILD_DIR to TOOLCHAIN_DIR 2009-09-23 09:15:27 +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 buildroot: add external-deps target 2008-03-04 12:19:16 +00:00