[Buildroot] [PATCH] toolchain-external: check sysroot *after* copying

Mike Frysinger vapier at gentoo.org
Mon Dec 13 17:27:08 UTC 2010


On Monday, December 13, 2010 11:52:44 Thomas Petazzoni wrote:
> On Sun, 12 Dec 2010 11:25:23 -0500 Mike Frysinger wrote:
> > The current toolchain checking code will probe the files in the
> > sysroot to make sure things are sane, but it does this *before* it
> > actually copies the files in question over.  Thus from a clean build,
> > it's impossible to actually use the external toolchain option.
> > 
> > So re-order things so we initialize the local sysroot first and then
> > check the result.
> 
> SYSROOT_DIR points to the original sysroot of the toolchain, not the
> one we copy locally for Buildroot. So the original sysroot of the
> toolchain is already available when starting a new build.

ok, so i misinterpreted the errors fixed by the other toolchain patches ive 
posted around the same time as this one.  for more details, consult those.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20101213/0472f868/attachment-0001.asc>


More information about the buildroot mailing list