On 17 July 2015 at 10:32, Anooj Gopi <anoojg...@gmail.com> wrote:

> But now I would like to clone two git repository, which of course have
> different hash value to be checked-out. Is it possible to do that in yocto?
>

Almost the same syntax.  I'm not sure why you're using pn-${BPN} notation
in a recipe, but this is from gstreamer1.0-omx:

SRC_URI = " \
    git://
anongit.freedesktop.org/gstreamer/gst-omx;branch=master;name=gst-omx \
git://
anongit.freedesktop.org/gstreamer/common;destsuffix=git/common;branch=master;name=common
"

SRCREV_gst-omx = "a2db76b048db278ef0aa798e106b7594264e06c0"
SRCREV_common = "5edcd857b2107cd8b78c16232dd10877513ec157"

Basically, give each URI a name, and then use the names in SRCREV overrides.

Ross
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to