summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-11-12 10:48:35 -0800
committerArmin Kuster <akuster808@gmail.com>2018-01-03 19:54:56 -0800
commit0baeb05511623c7e68e1341629efd27a80c5b042 (patch)
tree5d314a26aeaa69014e467c4e38f2e90cadfd5785
parent9475742a6ea0cef8a24d198ff1f1362302afed28 (diff)
downloadpoky-contrib-0baeb05511623c7e68e1341629efd27a80c5b042.tar.gz
poky-contrib-0baeb05511623c7e68e1341629efd27a80c5b042.tar.bz2
poky-contrib-0baeb05511623c7e68e1341629efd27a80c5b042.zip
binutils: Convert SRC_URI and SRCREV to weak defines
This makes it easy to override them in bbappends Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 99458d1fa170970e8a1aa04eeb0c86d3754fd988) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta/recipes-devtools/binutils/binutils-2.29.1.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.29.1.inc b/meta/recipes-devtools/binutils/binutils-2.29.1.inc
index d92bbbce5d7..07a72e2b5ae 100644
--- a/meta/recipes-devtools/binutils/binutils-2.29.1.inc
+++ b/meta/recipes-devtools/binutils/binutils-2.29.1.inc
@@ -18,9 +18,10 @@ BINUPV = "${@binutils_branch_version(d)}"
UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)"
-SRCREV = "90276f15379d380761fc499da2ba24cfb3c12a94"
+SRCREV ?= "90276f15379d380761fc499da2ba24cfb3c12a94"
+BINUTILS_GIT_URI ?= "git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git"
SRC_URI = "\
- git://sourceware.org/git/binutils-gdb.git;branch=binutils-${BINUPV}-branch;protocol=git \
+ ${BINUTILS_GIT_URI} \
file://0003-configure-widen-the-regexp-for-SH-architectures.patch \
file://0004-Point-scripts-location-to-libdir.patch \
file://0005-Only-generate-an-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch \