All of lore.kernel.org
 help / color / mirror / Atom feed
From: Khem Raj <raj.khem@gmail.com>
To: "Eswaran Vinothkumar (BEG/PJ-IOT-EL)" <Vinothkumar.Eswaran@de.bosch.com>
Cc: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Sub-directories from Git in SRC-URI
Date: Tue, 11 Apr 2017 09:37:52 -0700	[thread overview]
Message-ID: <CAMKF1srN+LVbeKChvrppj7kiFMRxdvWn_DN80X0AEv0ycnzpuQ@mail.gmail.com> (raw)
In-Reply-To: <83bd670ecdbc4d1885b66d8ba8ed8b0c@FE-MBX1014.de.bosch.com>

On Mon, Apr 10, 2017 at 11:24 PM, Eswaran Vinothkumar (BEG/PJ-IOT-EL)
<Vinothkumar.Eswaran@de.bosch.com> wrote:
> Hallo,
>
>
>
> May I now is it possible to include a sub-directory from git repo in the
> SRC_URI of bitbake recipe.
>
>
>
> Also in SRC_URI is it possible to include a directory instead of a single
> file?
>
>
>
> I know I could create a tar file of a directory and include it , but I would
> like to know is it possible to include directory as a SRC_URI.
>

if you have a setup where you checkout this component yourself e.g.
using android repo or gitsm to manage your yocto setup then you can
simply point your recipes to use file:// fetcher or even resort to
externalsrc to build in recipes where you point S to this common
directory for multiple recipes. I for one however like to defer the
fetching to bitbake in that case it will really fetch your component
once but will make copies locally for each component it builds. It may
not be as bad now a days with shared state and if the components are
not built so often its only a occasional thing.

>
>
>
>
> Mit freundlichen Grüßen / Best regards
>
> Vinothkumar Eswaran
> BEG-PT/PJ-IOT1
>
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>


      parent reply	other threads:[~2017-04-11 16:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-11  6:24 Sub-directories from Git in SRC-URI Eswaran Vinothkumar (BEG/PJ-IOT-EL)
2017-04-11  7:57 ` Esponde, Joel
2017-04-11  8:04   ` Eswaran Vinothkumar (BEG/PJ-IOT-EL)
2017-04-11  8:31     ` Miguel Aveiro
2017-04-11 13:51     ` Esponde, Joel
2017-04-11 16:37 ` Khem Raj [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMKF1srN+LVbeKChvrppj7kiFMRxdvWn_DN80X0AEv0ycnzpuQ@mail.gmail.com \
    --to=raj.khem@gmail.com \
    --cc=Vinothkumar.Eswaran@de.bosch.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.