[Buildroot] [PATCH] toolchain-external: improve sysroot lookup with multilib

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Dec 13 21:29:03 UTC 2010


On Sun, 12 Dec 2010 11:25:25 -0500
Mike Frysinger <vapier at gentoo.org> wrote:

> If the external toolchain we're using starts in a path other than /usr/lib,
> the sysroot detection fails as it has /usr/lib hardcoded.  Improve the code
> to strip out any lib suffixes to handle the most common behavior.
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>

Could you point me to a specific toolchain for which the problem is
occuring ? Just to make it clear: I do believe that the problem exists
and that the patch is useful in that case, I just want to be sure to
understand it completely, and potentially add a new test case to my
testing stuff.

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list