external-csl-toolchain: support ia32

Unfortunately, the CSL ia32 toolchain has non-prefixed binaries in its bindir
(e.g. gcc, ld). To avoid this messing up our build, we avoid adding this
bindir to our PATH, and instead add symlinks to the prefixed binaries to our
staging toolchain bindir.

(From OE-Core rev: c924d878b55cce7a0e98dc60acf706b5a1b4f404)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Christopher Larson
2012-01-27 11:13:46 -06:00
committed by Richard Purdie
parent c0d7e9b062
commit cbe0a0dd8a
2 changed files with 63 additions and 1 deletions

View File

@@ -60,6 +60,11 @@ external_toolchain_sysroot_adjust() {
rm -f ${SYSROOT_DESTDIR}/${CSL_TARGET_CORE}
ln -s . ${SYSROOT_DESTDIR}/${CSL_TARGET_CORE}
fi
if [ "${TUNE_PKGARCH}" = "i586" ]; then
rm -f ${SYSROOT_DESTDIR}/system32
ln -s . ${SYSROOT_DESTDIR}/system32
fi
}
GLIBC_INTERNAL_USE_BINARY_LOCALE ?= "compile"