aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/binutils/binutils_2.21.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-12-12 23:33:46 -0800
committerThomas Zimmermann <zimmermann@vdm-design.de>2011-09-10 15:49:05 +0200
commit9fdc8a97f0b9116612d957f4e3e5495d510819d5 (patch)
tree3dab745bcacac2dfc0da4fa34b3c2ebdb673a3e2 /recipes/binutils/binutils_2.21.bb
parentf3830e4f86e0bad78bc9bebbed5b1fb1eea6c3f7 (diff)
downloadopenembedded-9fdc8a97f0b9116612d957f4e3e5495d510819d5.tar.gz
binutils_2.21.bb: Fix the build when using libtool 2.4
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/binutils/binutils_2.21.bb')
-rw-r--r--recipes/binutils/binutils_2.21.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes/binutils/binutils_2.21.bb b/recipes/binutils/binutils_2.21.bb
index 12f2eda00e..e484201bd7 100644
--- a/recipes/binutils/binutils_2.21.bb
+++ b/recipes/binutils/binutils_2.21.bb
@@ -1,5 +1,5 @@
require binutils.inc
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
LICENSE = "GPLv3"
SRC_URI = "${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 \
@@ -10,6 +10,12 @@ SRC_URI = "${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 \
file://binutils-uclibc-300-012_check_ldrunpath_length.patch \
file://binutils-uclibc-gas-needs-libm.patch \
file://fix-clone-conflicts.patch \
+ ${@['file://libtool-update.patch','file://libtool-2.4-update.patch'][bb.data.getVar('LIBTOOL_HAS_SYSROOT', d, 1) == 'yes']} \
+ file://binutils-2.19.1-ld-sysroot.patch \
"
SRC_URI[md5sum] = "c84c5acc9d266f1a7044b51c85a823f5"
SRC_URI[sha256sum] = "60abec5bf448eb930a5a15acb8712612377dc8bcfb13dfd5131228f70561d0c7"
+
+FILES_${PN}-symlinks += "${bindir}/elfedit"
+# When we enable gold this might need to be make conditional
+FILES_${PN}-symlinks += "${bindir}/ld.bfd"