diff options
Diffstat (limited to 'binutils/binutils_2.15.91.0.2.oe')
-rw-r--r-- | binutils/binutils_2.15.91.0.2.oe | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/binutils/binutils_2.15.91.0.2.oe b/binutils/binutils_2.15.91.0.2.oe index a2f1addfd5..b1c10d3690 100644 --- a/binutils/binutils_2.15.91.0.2.oe +++ b/binutils/binutils_2.15.91.0.2.oe @@ -3,7 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/binutils/" SECTION = "devel" LICENSE = "GPL" MAINTAINER = "Gerald Britton <gbritton@doomcom.org>" -PR = "r4" +PR = "r5" inherit autotools gettext @@ -11,7 +11,8 @@ PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks" FILES_${PN} = " \ ${bindir}/${TARGET_PREFIX}* \ - ${libdir}/lib*-*.so" + ${libdir}/lib*-*.so \ + ${prefix}/${TARGET_SYS}/bin/*" FILES_${PN}-dev = " \ ${includedir} \ @@ -102,6 +103,14 @@ 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 + ln -sf `echo ${prefix}/${TARGET_SYS}/bin \ + | tr -s / \ + | sed -e 's,^/,,' -e 's,[^/]*,..,g'`${bindir}/${TARGET_PREFIX}`basename $l` $l + done + # Install the libiberty header install -d ${D}/${includedir} install -m 644 ${S}/include/ansidecl.h ${D}/${includedir} |