diff options
Diffstat (limited to 'binutils/binutils_2.15.91.0.1.oe')
-rw-r--r-- | binutils/binutils_2.15.91.0.1.oe | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/binutils/binutils_2.15.91.0.1.oe b/binutils/binutils_2.15.91.0.1.oe index d92cc90312..e36f6568ce 100644 --- a/binutils/binutils_2.15.91.0.1.oe +++ b/binutils/binutils_2.15.91.0.1.oe @@ -4,13 +4,14 @@ inherit autotools gettext DESCRIPTION = "A GNU collection of binary utilities" LICENSE = "GPL" MAINTAINER = "Gerald Britton <gbritton@doomcom.org>" -PR = "r2" +PR = "r3" 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} \ @@ -99,6 +100,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} |