aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-11-12 10:48:35 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-03 09:26:31 +0000
commit99458d1fa170970e8a1aa04eeb0c86d3754fd988 (patch)
treee1f9cffef356b45b0fcc9e27f76a071dde4ad66c
parent53df200cb5edab04a7ab38b974f96281733fadb2 (diff)
downloadopenembedded-core-99458d1fa170970e8a1aa04eeb0c86d3754fd988.zip
openembedded-core-99458d1fa170970e8a1aa04eeb0c86d3754fd988.tar.gz
openembedded-core-99458d1fa170970e8a1aa04eeb0c86d3754fd988.tar.bz2
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>
-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 d92bbbc..07a72e2 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 \