blob: 1784c52ffabc967b64039bd96ecb672f2f604172 [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001LIC_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)}"
18
19UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
20
21SRCREV = "354199c7692c1bed53a2a15f0e4d531457e95f17"
22SRC_URI = "\
23 git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git \
24 file://0003-gprof-add-uclibc-support-to-configure.patch \
25 file://0004-Point-scripts-location-to-libdir.patch \
26 file://0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \
27 file://0006-Explicitly-link-with-libm-on-uclibc.patch \
28 file://0007-Use-libtool-2.4.patch \
29 file://0008-Add-the-armv5e-architecture-to-binutils.patch \
30 file://0009-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \
31 file://0010-warn-for-uses-of-system-directories-when-cross-linki.patch \
32 file://0011-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \
33 file://0012-Change-default-emulation-for-mips64-linux.patch \
34 file://0013-Add-support-for-Netlogic-XLP.patch \
35 file://0014-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \
36 file://0015-sync-with-OE-libtool-changes.patch \
37 file://0016-Detect-64-bit-MIPS-targets.patch \
38 file://CVE-2017-6965.patch \
39 file://CVE-2017-6966.patch \
40 file://0017-bfd-Improve-lookup-of-file-line-information-for-erro.patch \
41 file://0018-PR-21409-segfault-in-_bfd_dwarf2_find_nearest_line.patch \
42 file://CVE-2017-6969.patch \
43 file://CVE-2017-6969_2.patch \
44 file://CVE-2017-7209.patch \
45 file://CVE-2017-7210.patch \
46 file://CVE-2017-7223.patch \
47 file://CVE-2017-7614.patch \
48 file://CVE-2017-8393.patch \
49 file://CVE-2017-8394.patch \
50 file://CVE-2017-8395.patch \
51 file://CVE-2017-8396_8397.patch \
52 file://CVE-2017-8398.patch \
53 file://CVE-2017-8421.patch \
54 file://CVE-2017-9038_9044.patch \
55 file://CVE-2017-9039.patch \
56 file://CVE-2017-9040_9042.patch \
57 file://CVE-2017-9742.patch \
58 file://CVE-2017-9744.patch \
59 file://CVE-2017-9745.patch \
60 file://CVE-2017-9746.patch \
61 file://CVE-2017-9747.patch \
62 file://CVE-2017-9748.patch \
63 file://CVE-2017-9749.patch \
64 file://CVE-2017-9750.patch \
65 file://CVE-2017-9751.patch \
66 file://CVE-2017-9752.patch \
67 file://CVE-2017-9753.patch \
68 file://CVE-2017-9755.patch \
69 file://CVE-2017-9756.patch \
70 file://CVE-2017-9954.patch \
71 file://CVE-2017-9955_1.patch \
72 file://CVE-2017-9955_2.patch \
73 file://CVE-2017-9955_3.patch \
74 file://CVE-2017-9955_4.patch \
75 file://CVE-2017-9955_5.patch \
76 file://CVE-2017-9955_6.patch \
77 file://CVE-2017-9955_7.patch \
78 file://CVE-2017-9955_8.patch \
79 file://CVE-2017-9955_9.patch \
80"
81S = "${WORKDIR}/git"
82
83do_configure_prepend () {
84 rm -rf ${S}/gdb ${S}/libdecnumber ${S}/readline ${S}/sim
85}