blob: 419571d56c31940d6883b45f5b4a2c91dddfab40 [file] [log] [blame]
Patrick Williams92b42cb2022-09-03 06:53:57 -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
13# When upgrading to 2.39, please make sure there is no trailing .0, so
14# that upstream version check can work correctly.
15PV = "2.39"
16CVE_VERSION = "2.39"
17SRCBRANCH ?= "binutils-2_39-branch"
18
19UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
20
21SRCREV ?= "f89058434f13382c85b8729464192bc7763d88a4"
22BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=git"
23SRC_URI = "\
24 ${BINUTILS_GIT_URI} \
25 file://0004-Point-scripts-location-to-libdir.patch \
26 file://0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \
27 file://0006-warn-for-uses-of-system-directories-when-cross-linki.patch \
28 file://0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \
29 file://0008-Use-libtool-2.4.patch \
30 file://0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \
31 file://0010-sync-with-OE-libtool-changes.patch \
32 file://0011-Check-for-clang-before-checking-gcc-version.patch \
33 file://0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \
Andrew Geissler87f5cff2022-09-30 13:13:31 -050034 file://0013-CVE-2022-38533.patch \
35 file://0014-CVE-2022-38128-1.patch \
36 file://0014-CVE-2022-38128-2.patch \
37 file://0014-CVE-2022-38128-3.patch \
Andrew Geissler517393d2023-01-13 08:55:19 -060038 file://0015-CVE-2022-4285.patch \
Patrick Williams92b42cb2022-09-03 06:53:57 -050039"
40S = "${WORKDIR}/git"
Andrew Geissler87f5cff2022-09-30 13:13:31 -050041# Already in 2.39 branch
42# - https://sourceware.org/bugzilla/show_bug.cgi?id=29289
43# - https://sourceware.org/bugzilla/show_bug.cgi?id=29290
44CVE_CHECK_IGNORE += "CVE-2022-38126 CVE-2022-38127"