[yocto] Can i add two git sources in one single recipe

Jussi Kukkonen jussi.kukkonen at intel.com
Thu Oct 15 04:21:34 PDT 2015


On 15 October 2015 at 14:03, Vivek Per <pervivek at gmail.com> wrote:

> hi,
>       Can i add two git source url in one recipe(SRC_URI).
> If so how can i add and how can i give source revision for two these files
> in one recipe.
>

Name the SRC_URIs, then set SRCREV_<name> for each of those. Example 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
\
    file://0001-omx-fixed-type-error-in-printf-call.patch \
    "
SRCREV_gst-omx = "a2db76b048db278ef0aa798e106b7594264e06c0"
SRCREV_common = "5edcd857b2107cd8b78c16232dd10877513ec157"

 - Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151015/25fdbce1/attachment.html>


More information about the yocto mailing list