blob: 62acec500e6644c0b7b46a4595f50a70133e63e0 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001LIC_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
17BINUPV = "${@binutils_branch_version(d)}"
Brad Bishop977dc1a2019-02-06 16:01:43 -050018PV .= ".1"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019
20UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
21
Brad Bishop977dc1a2019-02-06 16:01:43 -050022SRCREV ?= "c909e7afdc4710851a53e86ebed8cea3879b26e5"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080023BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git"
24SRC_URI = "\
25 ${BINUTILS_GIT_URI} \
26 file://0003-configure-widen-the-regexp-for-SH-architectures.patch \
27 file://0004-Point-scripts-location-to-libdir.patch \
28 file://0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \
29 file://0006-Use-libtool-2.4.patch \
30 file://0007-Add-the-armv5e-architecture-to-binutils.patch \
31 file://0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \
32 file://0009-warn-for-uses-of-system-directories-when-cross-linki.patch \
33 file://0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \
34 file://0011-Change-default-emulation-for-mips64-linux.patch \
35 file://0012-Add-support-for-Netlogic-XLP.patch \
36 file://0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \
37 file://0014-Detect-64-bit-MIPS-targets.patch \
38 file://0015-sync-with-OE-libtool-changes.patch \
39 file://0016-add-i386pep-emulation-for-x86_64.patch \
Brad Bishop977dc1a2019-02-06 16:01:43 -050040 file://0022-Handle-ELF-compressed-header-alignment-correctly-by-.patch \
41 file://0023-gold-Get-alignment-of-uncompressed-section-from-ch_a.patch \
42 file://clang-bfd-fix.patch \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080043 file://CVE-2018-17358.patch \
44 file://CVE-2018-17360.patch \
45 file://CVE-2018-18309.patch \
46 file://CVE-2018-18605.patch \
47 file://CVE-2018-18606.patch \
48 file://CVE-2018-18607.patch \
49"
50S = "${WORKDIR}/git"
51
52do_configure_prepend () {
53 rm -rf ${S}/gdb ${S}/libdecnumber ${S}/readline ${S}/sim
54}