[yocto] clone multiple git source repository from single recipe file
Burton, Ross
ross.burton at intel.com
Fri Jul 17 03:19:01 PDT 2015
On 17 July 2015 at 10:32, Anooj Gopi <anoojgopi at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150717/ee8ff0ad/attachment.html>
More information about the yocto
mailing list