Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 1 | LIC_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 | |
| 13 | def binutils_branch_version(d): |
| 14 | pvsplit = d.getVar('PV').split('.') |
| 15 | return pvsplit[0] + "_" + pvsplit[1] |
| 16 | |
Brad Bishop | 00e122a | 2019-10-05 11:10:57 -0400 | [diff] [blame] | 17 | # When upgrading to 2.33, please make sure there is no trailing .0, so |
| 18 | # that upstream version check can work correctly. |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 19 | PV = "2.32.0" |
| 20 | CVE_VERSION = "2.32" |
| 21 | BINUPV = "${@binutils_branch_version(d)}" |
| 22 | #BRANCH = "binutils-${BINUPV}-branch" |
| 23 | BRANCH ?= "binutils-2_32-branch" |
| 24 | |
| 25 | UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)" |
| 26 | |
| 27 | SRCREV ?= "b8c1f608db9ef3edd483d21a921d1fbedc71df6f" |
| 28 | BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${BRANCH};protocol=git" |
| 29 | SRC_URI = "\ |
| 30 | ${BINUTILS_GIT_URI} \ |
| 31 | file://0003-configure-widen-the-regexp-for-SH-architectures.patch \ |
| 32 | file://0004-Point-scripts-location-to-libdir.patch \ |
| 33 | file://0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ |
| 34 | file://0006-Use-libtool-2.4.patch \ |
| 35 | file://0007-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \ |
| 36 | file://0008-warn-for-uses-of-system-directories-when-cross-linki.patch \ |
| 37 | file://0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \ |
| 38 | file://0010-Change-default-emulation-for-mips64-linux.patch \ |
| 39 | file://0011-Add-support-for-Netlogic-XLP.patch \ |
| 40 | file://0012-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \ |
| 41 | file://0013-Detect-64-bit-MIPS-targets.patch \ |
| 42 | file://0014-sync-with-OE-libtool-changes.patch \ |
| 43 | file://0015-binutils-enable-x86_64-pep-for-producing-EFI-binarie.patch \ |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 44 | file://CVE-2019-9074.patch \ |
| 45 | file://CVE-2019-9075.patch \ |
| 46 | file://CVE-2019-9076.patch \ |
| 47 | file://CVE-2019-9077.patch \ |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 48 | file://CVE-2019-9071.patch \ |
| 49 | file://CVE-2019-12972.patch \ |
Brad Bishop | c68388fc | 2019-08-26 01:33:31 -0400 | [diff] [blame] | 50 | file://CVE-2019-14250.patch \ |
| 51 | file://CVE-2019-14444.patch \ |
Brad Bishop | 64c979e | 2019-11-04 13:55:29 -0500 | [diff] [blame] | 52 | file://CVE-2019-17450.patch \ |
| 53 | file://CVE-2019-17451.patch \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 54 | " |
| 55 | S = "${WORKDIR}/git" |
| 56 | |
| 57 | do_configure_prepend () { |
| 58 | rm -rf ${S}/gdb ${S}/libdecnumber ${S}/readline ${S}/sim |
| 59 | } |