summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-26 17:47:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-28 12:00:18 +0100
commit79e3418cadc2f5f64b19d73103abedf0b721bdf2 (patch)
tree390e11459aa59de3030c747340afbc91b8ae5d1a /meta/recipes-devtools
parent09af262045558a17bd199fede4721b9f9f6d67eb (diff)
downloadpoky-79e3418cadc2f5f64b19d73103abedf0b721bdf2.tar.gz
gcc-runtime: Add multilib C++ header mapping
The SDK was unable to find the C++ header pieces correctly since its using a generic compiler, not one specifically targeting the multilib vendor prefix. This adds in the right mapping to ensure multilib SDKs work as expected. This fixes multilib SDK automated tests. (From OE-Core rev: 823ce9555ee78aa460d0560b8fd9b309cfd36997) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-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 09757e6ccc..690d78012d 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_VENDOR_MULTILIB_ORIGINAL}" != "" -a "${TARGET_VENDOR}" != "${TARGET_VENDOR_MULTILIB_ORIGINAL}" ]; then
57 ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR_MULTILIB_ORIGINAL}-${TARGET_OS}
58 fi
56 if [ "${TARGET_OS}" = "linux-gnuspe" ]; then 59 if [ "${TARGET_OS}" = "linux-gnuspe" ]; then
57 ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux 60 ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux
58 fi 61 fi