blob: 66080dfceeffe6e49a247f21ba8a237c8d95cf2e [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -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
Andrew Geisslerd1e89492021-02-12 15:35:20 -060013# When upgrading to 2.37, please make sure there is no trailing .0, so
Andrew Geissler82c905d2020-04-13 13:39:40 -050014# that upstream version check can work correctly.
Andrew Geissler90fd73c2021-03-05 15:25:55 -060015PV = "2.36.1"
16CVE_VERSION = "2.36.1"
Andrew Geisslerc926e172021-05-07 16:11:35 -050017SRCBRANCH ?= "binutils-2_36-branch"
Andrew Geissler82c905d2020-04-13 13:39:40 -050018
19UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
20
Andrew Geissler90fd73c2021-03-05 15:25:55 -060021SRCREV ?= "7651a4871c225925ffdfda0a8c91a6ed370cd9a1"
Andrew Geisslerc926e172021-05-07 16:11:35 -050022BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=git"
Andrew Geissler82c905d2020-04-13 13:39:40 -050023SRC_URI = "\
24 ${BINUTILS_GIT_URI} \
25 file://0004-configure-widen-the-regexp-for-SH-architectures.patch \
26 file://0005-Point-scripts-location-to-libdir.patch \
27 file://0006-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \
Andrew Geissler635e0e42020-08-21 15:58:33 -050028 file://0007-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \
29 file://0008-warn-for-uses-of-system-directories-when-cross-linki.patch \
30 file://0009-Change-default-emulation-for-mips64-linux.patch \
31 file://0010-Add-support-for-Netlogic-XLP.patch \
32 file://0011-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \
33 file://0012-Detect-64-bit-MIPS-targets.patch \
34 file://0013-Use-libtool-2.4.patch \
35 file://0014-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \
Andrew Geissler82c905d2020-04-13 13:39:40 -050036 file://0015-sync-with-OE-libtool-changes.patch \
37 file://0016-Check-for-clang-before-checking-gcc-version.patch \
Andrew Geisslerc926e172021-05-07 16:11:35 -050038 file://0017-Add-support-for-the-DW_FORM_strx-forms-to-the-BFD-li.patch \
39 file://CVE-2021-20197.patch \
Andrew Geissler82c905d2020-04-13 13:39:40 -050040"
41S = "${WORKDIR}/git"