]> code.ossystems Code Review - openembedded-core.git/commitdiff
gcc: Remove unneeded module .la file and .so link
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 4 Jul 2011 14:58:30 +0000 (15:58 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 5 Jul 2011 10:16:41 +0000 (11:16 +0100)
This avoids a QA error.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-4.6.inc
meta/recipes-devtools/gcc/gcc-package-target.inc
meta/recipes-devtools/gcc/gcc_4.5.1.bb

index 68449954afe856f04e417cb7d65eebbe0b0f583c..a880111cbd132e723dedfee399072545f7f48ce5 100644 (file)
@@ -1,6 +1,6 @@
 require gcc-common.inc
 
-PR = "r5"
+PR = "r6"
 
 # Third digit in PV should be incremented after a minor release
 # happens from this branch on gcc e.g. currently its 4.6.0
index 6cc308c6dc3726e86e361d21fbcd760c4aa35f82..8c66c72ac99e20568354caa4709ebcf166e4b156 100644 (file)
@@ -72,6 +72,8 @@ do_install () {
        # Cleanup some of the ${libdir}{,exec}/gcc stuff ...
        rm -r ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
        rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/install-tools
+       rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/*.so
+       rm -r ${D}${libexecdir}/gcc/${TARGET_SYS}/${BINV}/*.la
 
        # Hack around specs file assumptions
        test -f ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs && sed -i -e '/^*cross_compile:$/ { n; s/1/0/; }' ${D}${libdir}/gcc/${TARGET_SYS}/${BINV}/specs
index 785d719ac88d6fcdf9b58b1a0ee10f40a2fd0641..12e42c4dcf92a862018e35c9e9fa80031670e6d9 100644 (file)
@@ -1,4 +1,4 @@
-PR = "r6"
+PR = "r7"
 require gcc-${PV}.inc
 require gcc-configure-target.inc
 require gcc-package-target.inc