summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils-2.25.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2015-03-02 02:06:28 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-08 10:53:11 +0100
commitb559d7f81f0793e70bdfcf6c1258530ba07c0217 (patch)
tree18910f69e4552c7f68e7b2992deb6960dabb7832 /meta/recipes-devtools/binutils/binutils-2.25.inc
parent1cb175fd7b9b1b954ccbc71f45fd968069c76b2a (diff)
downloadpoky-b559d7f81f0793e70bdfcf6c1258530ba07c0217.tar.gz
binutils: Switch to using binutils stable/2.25 branch
We have a lot of patches on top of 2.25 release that we need its easier/cleaner to use the git src instead of tarball and use the latest on the 2.25 branch Additionally, drop binutils-uclibc-300-006_better_file_error.patch since it has been redone with https://sourceware.org/ml/binutils/2006-10/msg00337.html upstream git'ify the patches against upstream repos for better maintainance Change-Id: I572c9bb49f60853e7ade4e8f63ab77b7e41476c5 (From OE-Core rev: 3c7fe424f850af70989ad682dd9c5be70cd02ca5) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils-2.25.inc')
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.25.inc40
1 files changed, 24 insertions, 16 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.25.inc b/meta/recipes-devtools/binutils/binutils-2.25.inc
index d9075b61f4..6f76530445 100644
--- a/meta/recipes-devtools/binutils/binutils-2.25.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.25.inc
@@ -10,22 +10,30 @@ LIC_FILES_CHKSUM="\
10 file://bfd/COPYING;md5=d32239bcb673463ab874e80d47fae504\ 10 file://bfd/COPYING;md5=d32239bcb673463ab874e80d47fae504\
11 " 11 "
12 12
13def binutils_branch_version(d):
14 pvsplit = d.getVar('PV', True).split('.')
15 return pvsplit[0] + "_" + pvsplit[1]
16
17BINUPV = "${@binutils_branch_version(d)}"
18
19SRCREV = "f2df1e49400f9e2d8d63a5d0fec9bf8c5c2b3342"
13SRC_URI = "\ 20SRC_URI = "\
14 ${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 \ 21 git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git \
15 file://binutils-uclibc-100-uclibc-conf.patch \ 22 file://0002-configure-widen-the-regexp-for-SH-architectures.patch \
16 file://binutils-uclibc-300-001_ld_makefile_patch.patch \ 23 file://0003-Point-scripts-location-to-libdir.patch \
17 file://binutils-uclibc-300-006_better_file_error.patch \ 24 file://0004-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \
18 file://binutils-uclibc-300-012_check_ldrunpath_length.patch \ 25 file://0005-Explicitly-link-with-libm-on-uclibc.patch \
19 file://binutils-uclibc-gas-needs-libm.patch \ 26 file://0006-Use-libtool-2.4.patch \
20 file://libtool-2.4-update.patch \ 27 file://0007-Add-the-armv5e-architecture-to-binutils.patch \
21 file://libiberty_path_fix.patch \ 28 file://0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \
22 file://binutils-poison.patch \ 29 file://0009-Upstream-Status-Inappropriate-distribution-codesourc.patch \
23 file://libtool-rpath-fix.patch \ 30 file://0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \
24 file://binutils-armv5e.patch \ 31 file://0011-Change-default-emulation-for-mips64-linux.patch \
25 file://mips64-default-ld-emulation.patch \ 32 file://0012-Add-XLP-instructions-support.patch \
26 file://binutils-xlp-support.patch \ 33 file://0013-Fix-an-internal-error-in-do_print_to_mapfile-seen-wi.patch \
27 file://0001-Fix-an-internal-error-in-do_print_to_mapfile-seen-wi.patch \
28 " 34 "
29SRC_URI[md5sum] = "d9f3303f802a5b6b0bb73a335ab89d66" 35S = "${WORKDIR}/git"
30SRC_URI[sha256sum] = "22defc65cfa3ef2a3395faaea75d6331c6e62ea5dfacfed3e2ec17b08c882923"
31 36
37do_configure_prepend () {
38 rm -rf ${S}/gdb ${S}/libdecnumber ${S}/readline ${S}/sim
39}