]> code.ossystems Code Review - openembedded-core.git/commitdiff
binutils: Convert SRC_URI and SRCREV to weak defines
authorKhem Raj <raj.khem@gmail.com>
Sun, 12 Nov 2017 18:48:35 +0000 (10:48 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Jan 2018 09:26:31 +0000 (09:26 +0000)
This makes it easy to override them in bbappends

Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/recipes-devtools/binutils/binutils-2.29.1.inc

index d92bbbce5d7d42d8c45e5c44bd65bfb4f4d31f58..07a72e2b5ae088cacb91c86641b957ad57333a19 100644 (file)
@@ -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 \