summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2012-01-27 11:13:46 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-03 16:17:16 +0000
commitcbe0a0dd8a4cfde73d2192fbc77e637e3ac4271c (patch)
tree5ac6cb55cf6ded06049a637f00ebf6171ace460f /meta/recipes-core
parentc0d7e9b062117a844293e7b358601d959e03b981 (diff)
downloadpoky-cbe0a0dd8a4cfde73d2192fbc77e637e3ac4271c.tar.gz
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>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/meta/external-csl-toolchain.bb5
1 files changed, 5 insertions, 0 deletions
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() {
60 rm -f ${SYSROOT_DESTDIR}/${CSL_TARGET_CORE} 60 rm -f ${SYSROOT_DESTDIR}/${CSL_TARGET_CORE}
61 ln -s . ${SYSROOT_DESTDIR}/${CSL_TARGET_CORE} 61 ln -s . ${SYSROOT_DESTDIR}/${CSL_TARGET_CORE}
62 fi 62 fi
63
64 if [ "${TUNE_PKGARCH}" = "i586" ]; then
65 rm -f ${SYSROOT_DESTDIR}/system32
66 ln -s . ${SYSROOT_DESTDIR}/system32
67 fi
63} 68}
64 69
65GLIBC_INTERNAL_USE_BINARY_LOCALE ?= "compile" 70GLIBC_INTERNAL_USE_BINARY_LOCALE ?= "compile"