summaryrefslogtreecommitdiff
path: root/packages/gcc
diff options
context:
space:
mode:
authorOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-10-01 17:23:42 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2008-10-01 17:23:42 +0000
commit6f1aee10e349b087f8b3651222263fbff19c4876 (patch)
tree69d528dada0190e72015c50525f3213156226aa2 /packages/gcc
parentf661ce424b1de1c942cf85769eb04c246a80c013 (diff)
parent1b6ef61c219763169e638eeaa266f4e3572798bc (diff)
merge of '7e947a0c90014aa35b2d54a97a35dac21ecd4545'
and 'ede2922a2a1c1c3eb84491c1cb019edc21f2729e'
Diffstat (limited to 'packages/gcc')
-rw-r--r--packages/gcc/gcc-common.inc2
-rw-r--r--packages/gcc/gcc-package-sdk.inc1
-rw-r--r--packages/gcc/gcc-package-target.inc3
3 files changed, 5 insertions, 1 deletions
diff --git a/packages/gcc/gcc-common.inc b/packages/gcc/gcc-common.inc
index 1097614969..73bc327507 100644
--- a/packages/gcc/gcc-common.inc
+++ b/packages/gcc/gcc-common.inc
@@ -14,7 +14,7 @@ def get_gcc_fpu_setting(bb, d):
# We really need HOST_SYS here for some packages and TARGET_SYS for others.
# For now, libgcc is most important so we fix for that - RP.
-SHLIBSDIR = "${STAGING_DIR}/${TARGET_SYS}/shlibs"
+SHLIBSDIR = "${STAGING_DIR_TARGET}/shlibs"
DEBIANNAME_libgcc = "libgcc1"
diff --git a/packages/gcc/gcc-package-sdk.inc b/packages/gcc/gcc-package-sdk.inc
index a36e632c9f..41f47aec1d 100644
--- a/packages/gcc/gcc-package-sdk.inc
+++ b/packages/gcc/gcc-package-sdk.inc
@@ -20,6 +20,7 @@ FILES_${PN} = "\
${includedir}/c++/${BINV} \
${prefix}/${TARGET_SYS}/bin/* \
${prefix}/${TARGET_SYS}/lib/* \
+ ${prefix}/${TARGET_SYS}/usr/include/* \
"
FILES_${PN}-doc = "\
${infodir} \
diff --git a/packages/gcc/gcc-package-target.inc b/packages/gcc/gcc-package-target.inc
index 9076c013e1..68c84abd5a 100644
--- a/packages/gcc/gcc-package-target.inc
+++ b/packages/gcc/gcc-package-target.inc
@@ -154,4 +154,7 @@ do_install () {
ln -sf gcc cc
ln -sf ${bindir}/${TARGET_SYS}-cpp ${D}${base_libdir}/cpp
ln -sf ${bindir}/${TARGET_SYS}-cpp ${D}${bindir}/cpp
+
+ # Remove precompiled c++ headers as they are really big
+ rm -rf ${D}${includedir}/c++/${BINV}/${TARGET_SYS}/bits/*.gch
}