disapproval of revision '23f392c4a32f829ba2c33998e47b14cc08c51a26'
authorFlorian Boor <florian.boor@kernelconcepts.de>
Fri, 28 Jul 2006 11:39:30 +0000 (11:39 +0000)
committerFlorian Boor <florian.boor@kernelconcepts.de>
Fri, 28 Jul 2006 11:39:30 +0000 (11:39 +0000)
packages/binutils/binutils_2.15.94.0.1.bb

index 3153c74..43ac3db 100644 (file)
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/binutils/"
 SECTION = "devel"
 LICENSE = "GPL"
 MAINTAINER = "Gerald Britton <gbritton@doomcom.org>"
-PR = "r4"
+PR = "r3"
 
 inherit autotools gettext
 
@@ -99,6 +99,9 @@ do_stage () {
 do_install () {
        autotools_do_install
 
+       # We don't really need these, so we'll remove them...
+       rm -rf ${D}${libdir}/ldscripts
+
        # Fix the /usr/${TARGET_SYS}/bin/* links
        for l in ${D}${prefix}/${TARGET_SYS}/bin/*; do
                rm -f $l
@@ -113,4 +116,9 @@ do_install () {
        install -m 644 ${S}/include/libiberty.h ${D}${includedir}
 
        cd ${D}${bindir}
+
+       # Symlinks for ease of running these on the native target
+       for p in ${TARGET_SYS}-* ; do
+               ln -sf $p `echo $p | sed -e s,${TARGET_SYS}-,,`
+       done
 }