blob: 0936d974d4dd0b647212696394bcb88a4d8c401f [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001LIC_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', True).split('.')
15 return pvsplit[0] + "_" + pvsplit[1]
16
17BINUPV = "${@binutils_branch_version(d)}"
18
19UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
20
21SRCREV = "5fe53ce37f9d9dd544ec8cc9e2863b68e1a61f4c"
22SRC_URI = "\
23 git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git \
24 file://0002-configure-widen-the-regexp-for-SH-architectures.patch \
25 file://0003-Point-scripts-location-to-libdir.patch \
26 file://0004-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \
27 file://0005-Explicitly-link-with-libm-on-uclibc.patch \
28 file://0006-Use-libtool-2.4.patch \
29 file://0007-Add-the-armv5e-architecture-to-binutils.patch \
30 file://0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \
31 file://0009-warn-for-uses-of-system-directories-when-cross-linki.patch \
32 file://0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \
33 file://0011-Change-default-emulation-for-mips64-linux.patch \
34 file://0012-Add-support-for-Netlogic-XLP.patch \
35 file://0013-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \
36 file://0014-libtool-remove-rpath.patch \
37 file://0015-binutils-mips-gas-pic-relax-linkonce.diff \
38 file://0015-Refine-.cfi_sections-check-to-only-consider-compact-.patch \
Brad Bishop37a0e4d2017-12-04 01:01:44 -050039 file://0016-Fix-seg-fault-in-ARM-linker-when-trying-to-parse-a-b.patch \
40 file://0017-Fix-the-generation-of-alignment-frags-in-code-sectio.patch \
41 file://0001-ppc-apuinfo-for-spe-parsed-incorrectly.patch \
42 file://CVE-2017-6965.patch \
43 file://CVE-2017-6966.patch \
44 file://CVE-2017-6969.patch \
45 file://CVE-2017-6969_2.patch \
46 file://CVE-2017-7209.patch \
47 file://CVE-2017-7210.patch \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060048"
49S = "${WORKDIR}/git"
50
51do_configure_prepend () {
52 rm -rf ${S}/gdb ${S}/libdecnumber ${S}/readline ${S}/sim
53}