From cbe0a0dd8a4cfde73d2192fbc77e637e3ac4271c Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Fri, 27 Jan 2012 11:13:46 -0600 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-core/meta/external-csl-toolchain.bb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta/recipes-core/meta') diff --git a/meta/recipes-core/meta/external-csl-toolchain.bb b/meta/recipes-core/meta/external-csl-toolchain.bb index 37ea271eb1..a866e3e3dd 100644 --- a/meta/recipes-core/meta/external-csl-toolchain.bb +++ b/meta/recipes-core/meta/external-csl-toolchain.bb @@ -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" -- cgit v1.2.3-54-g00ecf