From: Khem Raj Date: Sun, 12 Nov 2017 18:48:35 +0000 (-0800) Subject: binutils: Convert SRC_URI and SRCREV to weak defines X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~19221 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99458d1fa170970e8a1aa04eeb0c86d3754fd988;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git binutils: Convert SRC_URI and SRCREV to weak defines This makes it easy to override them in bbappends Signed-off-by: Khem Raj --- 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\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 \