summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gcc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-03 17:03:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-06 15:15:51 +0100
commit64eca273c6140a261f88943afaccefef3d1aa5e3 (patch)
tree5b2175390d2db03fd917d3f3373cbf789661bee3 /meta/recipes-devtools/gcc
parent3224472c68865714716305dfbc8efaa59f73958e (diff)
downloadpoky-64eca273c6140a261f88943afaccefef3d1aa5e3.tar.gz
gcc-runtime: Add linux-gnuspe symlink to fix c++ headers
Some architectures can mix different TARGET_OS values, in most cases we just use one but in the ppc case, can use two different values. In this case, to use one toolchain with both, we need to ensure the symlinks exist. This isn't ideal but does fix the ppc toolchains for the release, after which better ways of handling this can be investiaged. Without this, failures in the C++ toolchain are seen. (From OE-Core rev: 112641117f1152bad8a806f1aa872a67575d5316) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r--meta/recipes-devtools/gcc/gcc-runtime.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index 7ce84f14d9..167869e1f2 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -53,6 +53,9 @@ do_install () {
53 if [ -d ${D}${infodir} ]; then 53 if [ -d ${D}${infodir} ]; then
54 rmdir --ignore-fail-on-non-empty -p ${D}${infodir} 54 rmdir --ignore-fail-on-non-empty -p ${D}${infodir}
55 fi 55 fi
56 if [ "${TARGET_OS}" = "linux-gnuspe" ]; then
57 ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux
58 fi
56 chown -R root:root ${D} 59 chown -R root:root ${D}
57} 60}
58 61