[Buildroot] problem adding new package libcapn

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Feb 16 21:45:43 UTC 2016


Hello,

On Tue, 16 Feb 2016 22:39:26 +0100, Arnout Vandecappelle wrote:

> > 1) I am not sure how the git submodule update --init is handled in buildroot.
> 
>  If you need it, then you have to:
> 
> - add an EXTRA_DOWNLOADS of the tarball (using the github macro);
> 
> - add a POST_EXTRACT_HOOKS to extract the tarball in the right subdirectory.

I have the impression that this 'git submodule' thing is used more and
more, and that Buildroot not having support to automatically fetch
submodules is causing troubles to a number of people.

Not later than today, a colleague of mine also asked me about this,
since he is packaging something that uses submodules.

But very often, submodules are used to "bundle" libraries that should
rather be packaged as separate packages.

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



More information about the buildroot mailing list