binutils 2.15.94.0.1: Do not remove ldscripts, it breaks the SDK.
authorFlorian Boor <florian.boor@kernelconcepts.de>
Fri, 28 Jul 2006 11:02:12 +0000 (11:02 +0000)
committerFlorian Boor <florian.boor@kernelconcepts.de>
Fri, 28 Jul 2006 11:02:12 +0000 (11:02 +0000)
                      Do not create links without cross prefix, it break the SDK.

packages/binutils/binutils_2.15.94.0.1.bb

index 43ac3db..3153c74 100644 (file)
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/binutils/"
 SECTION = "devel"
 LICENSE = "GPL"
 MAINTAINER = "Gerald Britton <gbritton@doomcom.org>"
-PR = "r3"
+PR = "r4"
 
 inherit autotools gettext
 
@@ -99,9 +99,6 @@ 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
@@ -116,9 +113,4 @@ 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
 }