blob: 5fcb4292b3e017820eaa1faac16d3b431b29aca2 [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
Patrick Williams2a254922023-08-11 09:48:11 -050013# When upgrading to 2.42, please make sure there is no trailing .0, so
Patrick Williams92b42cb2022-09-03 06:53:57 -050014# that upstream version check can work correctly.
Patrick Williams73bd93f2024-02-20 08:07:48 -060015PV = "2.42"
16CVE_VERSION = "2.42"
17SRCBRANCH ?= "binutils-2_42-branch"
Patrick Williams92b42cb2022-09-03 06:53:57 -050018
19UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
20
Patrick Williams39653562024-03-01 08:54:02 -060021CVE_STATUS[CVE-2023-25584] = "cpe-incorrect: Applies only for version 2.40 and earlier"
22
Patrick Williams73bd93f2024-02-20 08:07:48 -060023SRCREV ?= "553c7f61b74badf91df484450944675efd9cd485"
Andrew Geissler028142b2023-05-05 11:29:21 -050024BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=${SRCBRANCH};protocol=https"
Patrick Williams92b42cb2022-09-03 06:53:57 -050025SRC_URI = "\
26 ${BINUTILS_GIT_URI} \
27 file://0004-Point-scripts-location-to-libdir.patch \
28 file://0005-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \
29 file://0006-warn-for-uses-of-system-directories-when-cross-linki.patch \
30 file://0007-fix-the-incorrect-assembling-for-ppc-wait-mnemonic.patch \
31 file://0008-Use-libtool-2.4.patch \
32 file://0009-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \
33 file://0010-sync-with-OE-libtool-changes.patch \
34 file://0011-Check-for-clang-before-checking-gcc-version.patch \
35 file://0012-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \
Andrew Geisslerc5535c92023-01-27 16:10:19 -060036 file://0013-Define-alignof-using-_Alignof-when-using-C11-or-newe.patch \
Patrick Williams2a254922023-08-11 09:48:11 -050037 file://0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch \
Patrick Williams92b42cb2022-09-03 06:53:57 -050038"
39S = "${WORKDIR}/git"