On Tue, Jun 16, 2015 at 04:12:49PM +0200, Steffen Sledz wrote:
> For development purposes we use this method to build always from the HEAD 
> revision of a git repository.
> 
> -------------> snip <--------------
> SRCREV="${AUTOREV}"
> PV = "gitr${SRCPV}"
> 
> SRC_URI = "git://[email protected]/.../foo.git;protocol=ssh"
> -------------> snap <--------------
> 
> Now we like to do the same in one recipe which uses sources from two git 
> repos.
> 
> Our first try was this one. But if failed..
> 
> -------------> snip <--------------
> SRCREV_foo="${AUTOREV_foo}"
> SRCREV_bar="${AUTOREV_bar}"
> PV = "gitr${SRCPV_foo}+${SRCPV_bar}"
> 
> SRC_URI = " \
>       git://[email protected]/.../foo.git;protocol=ssh,name=foo \
>       git://[email protected]/.../bar.git;protocol=ssh,name=bar \
> "
> -------------> snap <--------------
> 
> Is it possible to do what we want? And what's the right way to do it?

You need to set SRCREV_FORMAT variable.

-- 
Martin 'JaMa' Jansa     jabber: [email protected]

Attachment: signature.asc
Description: Digital signature

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to