diff options
author | Phil Blundell <philb@gnu.org> | 2004-11-21 00:55:55 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2004-11-21 00:55:55 +0000 |
commit | 2157c93cf9976d9bc1b834e2120c91be6809f9fb (patch) | |
tree | 4fdee415491bdc722986674549899f8cd881722d /binutils/binutils_2.14.90.0.7.oe | |
parent | 62ecaa2f1cd2eee77ccdfd7b419fd7c9a1efb152 (diff) |
Merge bk://openembedded@openembedded.bkbits.net/packages-devel
into stealth.nexus.co.uk:/home/pb/oe/oe-packages
2004/11/20 19:55:54-05:00 handhelds.org!kergoth
Merge openembedded@openembedded.bkbits.net:packages-devel
into handhelds.org:/home/kergoth/code/packages
2004/11/20 19:55:37-05:00 handhelds.org!kergoth
In the binutils builds, package /usr/${TARGET_SYS}/bin/*, and ensure they point to the correct place. This is one of the last major outstanding bugs in the native development environment.
BKrev: 419fe79bxSA9MZFcPyiTz8xSVAsoqA
Diffstat (limited to 'binutils/binutils_2.14.90.0.7.oe')
-rw-r--r-- | binutils/binutils_2.14.90.0.7.oe | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/binutils/binutils_2.14.90.0.7.oe b/binutils/binutils_2.14.90.0.7.oe index 139bc45b6c..dec7833d3b 100644 --- a/binutils/binutils_2.14.90.0.7.oe +++ b/binutils/binutils_2.14.90.0.7.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} \ @@ -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} |