Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [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 | |
| 17 | # When upgrading to 2.35, please make sure there is no trailing .0, so |
| 18 | # that upstream version check can work correctly. |
Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame] | 19 | PV = "2.35" |
| 20 | CVE_VERSION = "2.35" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 21 | BINUPV = "${@binutils_branch_version(d)}" |
| 22 | #BRANCH = "binutils-${BINUPV}-branch" |
Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame] | 23 | BRANCH ?= "binutils-2_35-branch" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 24 | |
| 25 | UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)" |
| 26 | |
Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame] | 27 | SRCREV ?= "89a9065674a14a8bd94bb326b27d19a2f3583efb" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 28 | BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${BRANCH};protocol=git" |
| 29 | SRC_URI = "\ |
| 30 | ${BINUTILS_GIT_URI} \ |
| 31 | file://0004-configure-widen-the-regexp-for-SH-architectures.patch \ |
| 32 | file://0005-Point-scripts-location-to-libdir.patch \ |
| 33 | file://0006-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \ |
Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame] | 34 | file://0007-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \ |
| 35 | file://0008-warn-for-uses-of-system-directories-when-cross-linki.patch \ |
| 36 | file://0009-Change-default-emulation-for-mips64-linux.patch \ |
| 37 | file://0010-Add-support-for-Netlogic-XLP.patch \ |
| 38 | file://0011-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \ |
| 39 | file://0012-Detect-64-bit-MIPS-targets.patch \ |
| 40 | file://0013-Use-libtool-2.4.patch \ |
| 41 | file://0014-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 42 | file://0015-sync-with-OE-libtool-changes.patch \ |
| 43 | file://0016-Check-for-clang-before-checking-gcc-version.patch \ |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 44 | file://0017-gas-improve-reproducibility-for-stabs-debugging-data.patch \ |
| 45 | file://0001-aarch64-Return-an-error-on-conditional-branch-to-an-.patch \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 46 | " |
| 47 | S = "${WORKDIR}/git" |