From 6db57c69360087b3b7b8fc2b7764d2911ec24d43 Mon Sep 17 00:00:00 2001 From: Yann E. MORIN Date: Wed, 7 Apr 2010 00:50:10 +0200 Subject: 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 Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- CHANGES | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CHANGES') diff --git a/CHANGES b/CHANGES index 34f47a001..2ffd6727d 100644 --- a/CHANGES +++ b/CHANGES @@ -4,7 +4,7 @@ Toolchain: uClibc 0.9.30.3 / 0.9.31, older 0.9.30.x removed. 2.6.33 kernel headers, binutils 2.20.1, removed broken nios2 - support. + support, improved external toolchain support. X.org updated to 7.5. @@ -23,6 +23,7 @@ #800: [PATCH] iperf update to 2.0.4 #805: [PATCH] mdadm - version update #817: integrator926_defconfig uses unsupported uboot board name + #851: Add option to specify --sysroot value for external toolchain #1105: Add new netperf package #1111: Bump wget to 1.12 and migrate to Makefile.autotools.in #1117: Bump nano to 2.2.3 and migrate to Makefile.autotools.in -- cgit v1.2.3-55-g7522