[Buildroot] Clone source code recursively

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Aug 25 08:17:14 UTC 2016


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



More information about the buildroot mailing list