summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-07-28 11:44:29 +0000
committerMichael Lauer <mickey@vanille-media.de>2006-07-28 11:44:29 +0000
commit51372539ce1c7dcc75dfb892d3d141b43d49e34d (patch)
tree1fe53d4046a9ac7b90caf973e90ac139806f616d /packages
parenta9b4063d1628260c82644cc466984349cb5e4142 (diff)
parenta7bae3acdd5387c4882fadfc0fdfb7ac5a49c309 (diff)
merge of 709370ff47e008ad6a103c7d32f5e8a3aa8b2eb9
and e273cc9b332aec7b5539c1f7def99a4b04fb8c9e
Diffstat (limited to 'packages')
-rw-r--r--packages/binutils/binutils_2.15.94.0.1.bb10
1 files changed, 9 insertions, 1 deletions
diff --git a/packages/binutils/binutils_2.15.94.0.1.bb b/packages/binutils/binutils_2.15.94.0.1.bb
index 3153c7492f..43ac3db2ae 100644
--- a/packages/binutils/binutils_2.15.94.0.1.bb
+++ b/packages/binutils/binutils_2.15.94.0.1.bb
@@ -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
}