[gnome-continuous-yocto/gnomeostree-3.28-rocko: 69/218] binutils: Convert SRC_URI and SRCREV to weak defines



commit 2e5e0e9ef0a23e45af0c57cdf5390fd85ca36cf0
Author: Khem Raj <raj khem gmail com>
Date:   Sun Nov 12 10:48:35 2017 -0800

    binutils: Convert SRC_URI and SRCREV to weak defines
    
    This makes it easy to override them in bbappends
    
    (From OE-Core rev: af4766e9fe17c7adb0c69f2d9b97b716813beca2)
    
    Signed-off-by: Khem Raj <raj khem gmail com>
    (cherry picked from commit 99458d1fa170970e8a1aa04eeb0c86d3754fd988)
    Signed-off-by: Armin Kuster <akuster808 gmail com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-devtools/binutils/binutils-2.29.1.inc |    5 +++--
 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 \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]