On Thu, Nov 9, 2017 at 12:54 PM, Burton, Ross <[email protected]> wrote: > How does this help? A bbappend is parsed after the bb so it can just assign > to SRCREV. > > Also is it actually useful to change the git url but apply the same patches? >
yes, this helps with using local forks of upstream and at the same time apply the patches from OE-Core being on same version. Especially for new archirectures where all support may not be upstream. > Ross > > On 9 November 2017 at 01:58, Khem Raj <[email protected]> wrote: >> >> This makes it easy to override them in bbappends >> >> Signed-off-by: Khem Raj <[email protected]> >> --- >> meta/recipes-devtools/binutils/binutils-2.29.inc | 5 +++-- >> 1 file changed, 3 insertions(+), 2 deletions(-) >> >> diff --git a/meta/recipes-devtools/binutils/binutils-2.29.inc >> b/meta/recipes-devtools/binutils/binutils-2.29.inc >> index 27d46eb088..35f76cba6d 100644 >> --- a/meta/recipes-devtools/binutils/binutils-2.29.inc >> +++ b/meta/recipes-devtools/binutils/binutils-2.29.inc >> @@ -18,9 +18,10 @@ BINUPV = "${@binutils_branch_version(d)}" >> >> UPSTREAM_CHECK_GITTAGREGEX = "binutils-(?P<pver>\d+_(\d_?)*)" >> >> -SRCREV = "37e991bb143ca2106330bcdc625590d53838b7a1" >> +SRCREV ?= "37e991bb143ca2106330bcdc625590d53838b7a1" >> +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 \ >> -- >> 2.15.0 >> >> -- >> _______________________________________________ >> Openembedded-core mailing list >> [email protected] >> http://lists.openembedded.org/mailman/listinfo/openembedded-core > > -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
