[oe-commits] : gcc: sync with poky

OE GIT Trial gittrial at amethyst.openembedded.net
Wed Oct 1 13:18:46 UTC 2008


Module: OE.dev
Branch: org.openembedded.dev
Commit: 80119eac7fdb2859a2ba2af0331af590a86949f8
URL:    http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=80119eac7fdb2859a2ba2af0331af590a86949f8

Author:  <koen at openembedded.org>
Date:   Wed Oct  1 13:12:01 2008 +0000

gcc: sync with poky

---

 packages/gcc/gcc-common.inc         |    2 +-
 packages/gcc/gcc-package-sdk.inc    |    1 +
 packages/gcc/gcc-package-target.inc |    3 +++
 3 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/packages/gcc/gcc-common.inc b/packages/gcc/gcc-common.inc
index 1097614..73bc327 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 a36e632..41f47ae 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 9076c01..68c84ab 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
 }





More information about the Openembedded-commits mailing list