blob: f3817fafb6f8e5337b8392dfe9d1d5f04c2a20cb [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -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
13def binutils_branch_version(d):
14 pvsplit = d.getVar('PV', True).split('.')
15 return pvsplit[0] + "_" + pvsplit[1]
16
17BINUPV = "${@binutils_branch_version(d)}"
18
19SRCREV = "2bd25930221dea4bf33c13a89c111514491440e2"
20SRC_URI = "\
21 git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git \
22 file://0002-configure-widen-the-regexp-for-SH-architectures.patch \
23 file://0003-Point-scripts-location-to-libdir.patch \
24 file://0004-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \
25 file://0005-Explicitly-link-with-libm-on-uclibc.patch \
26 file://0006-Use-libtool-2.4.patch \
27 file://0007-Add-the-armv5e-architecture-to-binutils.patch \
28 file://0008-don-t-let-the-distro-compiler-point-to-the-wrong-ins.patch \
29 file://0009-Upstream-Status-Inappropriate-distribution-codesourc.patch \
30 file://0010-Fix-rpath-in-libtool-when-sysroot-is-enabled.patch \
31 file://0011-Change-default-emulation-for-mips64-linux.patch \
32 file://0012-Add-XLP-instructions-support.patch \
33 file://0013-Fix-an-internal-error-in-do_print_to_mapfile-seen-wi.patch \
34 file://0014-gold-arm-Skip-pic-check-for-R_ARM_REL32.patch \
35 file://0015-Fix-dynamic-list-so-that-symbols-not-in-the-list-are.patch \
36 file://binutils-octeon3.patch \
37 file://add-thunderx-support-for-gas.patch \
38 "
39S = "${WORKDIR}/git"
40
41do_configure_prepend () {
42 rm -rf ${S}/gdb ${S}/libdecnumber ${S}/readline ${S}/sim
43}