summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/binutils/binutils-2.32.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-02-04 13:18:08 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-05 13:53:48 +0000
commitdb9bca2b3b126ad915decc1c803e136a3cdb5d66 (patch)
tree3fab2b7ec10ee8397268827ed03a9396715188ed /meta/recipes-devtools/binutils/binutils-2.32.inc
parent3c6764b09888e2025536b8bc73ce548cf53a1579 (diff)
downloadpoky-db9bca2b3b126ad915decc1c803e136a3cdb5d66.tar.gz
binutils: Upgrade to binutils 2.32
Changes https://sourceware.org/ml/binutils/2019-02/msg00010.html 0007-Add-the-armv5e-architecture-to-binutils.patch is dropped since we armv5 is not a used option anymore in OE armv5te is default, and gcc9 will drop it completely anyway CVE patches were backports from master which is already past of 2.32 release Other dropped patches were partial or full backports as well (From OE-Core rev: b71294c4decf35d544a2c8adb4e67d141841fc68) 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.32.inc')
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.32.inc46
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.32.inc b/meta/recipes-devtools/binutils/binutils-2.32.inc
new file mode 100644
index 0000000000..7423986815
--- /dev/null
+++ b/meta/recipes-devtools/binutils/binutils-2.32.inc
@@ -0,0 +1,46 @@
1LIC_FILES_CHKSUM="\
2 file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552\
3 file://COPYING.LIB;md5=9f604d8a4f8e74f4f5140845a21b6674\
4 file://COPYING3;md5=d32239bcb673463ab874e80d47fae504\
5 file://COPYING3.LIB;md5=6a6a8e020838b23406c81b19c1d46df6\
6 file://gas/COPYING;md5=d32239bcb673463ab874e80d47fae504\
7 file://include/COPYING;md5=59530bdf33659b29e73d4adb9f9f6552\
8 file://include/COPYING3;md5=d32239bcb673463ab874e80d47fae504\
9 file://libiberty/COPYING.LIB;md5=a916467b91076e631dd8edb7424769c7\
10 file://bfd/COPYING;md5=d32239bcb673463ab874e80d47fae504\
11 "
12
13def binutils_branch_version(d):
14 pvsplit = d.getVar('PV').split('.')
15 return pvsplit[0] + "_" + pvsplit[1]
16
17PV = "2.32.0"
18BINUPV = "${@binutils_branch_version(d)}"
19#BRANCH = "binutils-${BINUPV}-branch"
20BRANCH ?= "binutils-2_32-branch"
21
22UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
23
24SRCREV ?= "b8c1f608db9ef3edd483d21a921d1fbedc71df6f"
25BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${BRANCH};protocol=git"
26SRC_URI = "\
27 ${BINUTILS_GIT_URI} \
28 file://0003-configure-widen-the-regexp-for-SH-architectures.patch \
29 file://0004-Point-scripts-location-to-libdir.patch \
30 file://0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \
31 file://0006-Use-libtool-2.4.patch \
32 file://0007-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \
33 file://0008-warn-for-uses-of-system-directories-when-cross-linki.patch \
34 file://0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \
35 file://0010-Change-default-emulation-for-mips64-linux.patch \
36 file://0011-Add-support-for-Netlogic-XLP.patch \
37 file://0012-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \
38 file://0013-Detect-64-bit-MIPS-targets.patch \
39 file://0014-sync-with-OE-libtool-changes.patch \
40 file://0015-binutils-enable-x86_64-pep-for-producing-EFI-binarie.patch \
41"
42S = "${WORKDIR}/git"
43
44do_configure_prepend () {
45 rm -rf ${S}/gdb ${S}/libdecnumber ${S}/readline ${S}/sim
46}