All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Clone source code recursively
@ 2016-08-24 23:31 Zygmunt Ptak
  2016-08-25  7:41 ` Yann E. MORIN
  2016-08-25  8:17 ` Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Zygmunt Ptak @ 2016-08-24 23:31 UTC (permalink / raw)
  To: buildroot

Hi,

I can't find how can I clone code recursively from git repository.
Is it possible at all?

I found interested lines in: support/download/git
But I don't know how to set recursive method in .mk file.

Regards
Zygmunt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160825/0e146bf9/attachment.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Clone source code recursively
  2016-08-24 23:31 [Buildroot] Clone source code recursively Zygmunt Ptak
@ 2016-08-25  7:41 ` Yann E. MORIN
  2016-08-25  8:17 ` Thomas Petazzoni
  1 sibling, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2016-08-25  7:41 UTC (permalink / raw)
  To: buildroot

Zygmunt, All,

On 2016-08-25 01:31 +0200, Zygmunt Ptak spake thusly:
> I can't find how can I clone code recursively from git repository.
> Is it possible at all?
> 
> I found interested lines in: support/download/git
> But I don't know how to set recursive method in .mk file.

The official manual references the last release, so all that has been
added in not visible in there.

You can browse the "nightly" manual that has the necessary information.
Just Choose "Nightly" instead of "stable" when selecting the manual to
browse.

There it is:
    http://nightly.buildroot.org/#generic-package-reference

Then, search for LIBFOO_GIT_SUBMODULES.

Once 2016.08 is released, this will be part of the official, stable
manual. ;-)

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Clone source code recursively
  2016-08-24 23:31 [Buildroot] Clone source code recursively Zygmunt Ptak
  2016-08-25  7:41 ` Yann E. MORIN
@ 2016-08-25  8:17 ` Thomas Petazzoni
  2016-08-25 10:39   ` Zygmunt Ptak
  1 sibling, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2016-08-25  8:17 UTC (permalink / raw)
  To: buildroot

Hello,

On Thu, 25 Aug 2016 01:31:41 +0200, Zygmunt Ptak wrote:

> I can't find how can I clone code recursively from git repository.
> Is it possible at all?

What do you call "recursively"? Are you talking about also fetching
submodules? If that's what you're talking about, we recently added
support for that:

  https://git.buildroot.org/buildroot/commit/package/pkg-generic.mk?id=ec3e057f79117d851c37f19316a3b9b5e2470550

You just need to add:

  FOO_GIT_SUBMODULES = YES

in your package .mk file.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] Clone source code recursively
  2016-08-25  8:17 ` Thomas Petazzoni
@ 2016-08-25 10:39   ` Zygmunt Ptak
  0 siblings, 0 replies; 4+ messages in thread
From: Zygmunt Ptak @ 2016-08-25 10:39 UTC (permalink / raw)
  To: buildroot

Hi,

> What do you call "recursively"? Are you talking about also fetching
submodules?
Exactly.

Thank you for information.
About nightly manual, yeah I saw that from Arnout email.

Regards
Zygmunt

2016-08-25 10:17 GMT+02:00 Thomas Petazzoni <
thomas.petazzoni@free-electrons.com>:

> Hello,
>
> On Thu, 25 Aug 2016 01:31:41 +0200, Zygmunt Ptak wrote:
>
> > I can't find how can I clone code recursively from git repository.
> > Is it possible at all?
>
> What do you call "recursively"? Are you talking about also fetching
> submodules? If that's what you're talking about, we recently added
> support for that:
>
>   https://git.buildroot.org/buildroot/commit/package/pkg-generic.mk?id=
> ec3e057f79117d851c37f19316a3b9b5e2470550
>
> You just need to add:
>
>   FOO_GIT_SUBMODULES = YES
>
> in your package .mk file.
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux and Kernel engineering
> http://free-electrons.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20160825/b93eb554/attachment.html>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-25 10:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-24 23:31 [Buildroot] Clone source code recursively Zygmunt Ptak
2016-08-25  7:41 ` Yann E. MORIN
2016-08-25  8:17 ` Thomas Petazzoni
2016-08-25 10:39   ` Zygmunt Ptak

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.