blob: 6093558e4b194f57ff49a9826273d64a70128ef3 [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.
Patrick Williams213cb262021-08-07 19:21:33 -050015PV = "2.37"
16CVE_VERSION = "2.37"
17SRCBRANCH ?= "binutils-2_37-branch"
Andrew Geissler82c905d2020-04-13 13:39:40 -050018
19UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
20
Patrick Williams213cb262021-08-07 19:21:33 -050021SRCREV ?= "87d4632d36323091e731eb07b8aa65f90293da66"
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 Geisslerd159c7f2021-09-02 21:05:58 -050038 file://0017-bfd-Close-the-file-descriptor-if-there-is-no-archive.patch \
Andrew Geissler82c905d2020-04-13 13:39:40 -050039"
40S = "${WORKDIR}/git"