]> code.ossystems Code Review - openembedded-core.git/commit
gcc-cross-initial: Ensure it uses an isolated sysroot
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Aug 2012 11:13:06 +0000 (11:13 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Aug 2012 11:34:43 +0000 (12:34 +0100)
commit9c304eae0724474902fe2f3150adc6af115af9ba
tree46ddfa353d680ea3d8b1c426d201d807969c4a13
parenta9d0cbe1d84bb26fc1a1f48764fe514cf9f9c548
gcc-cross-initial: Ensure it uses an isolated sysroot

If we don't do this, a stale limits.h may be detected in STAGING_DIR_TARGET
which would result in a different limits.h getting generated by gcc-cross-initial
that references it. The referenced limits.h will then not get found by eglibc-initial
causing rather strange build failures.

The simplest solution is to create a temporary sysroot containing only the things
gcc-cross-initial should care about and this results in a correct limits.h file
regardless of what else may have been built.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-cross-initial.inc