[bitbake-devel] [RESEND RFC PATCH] gitsm: Control submodule recursion

Andrew Jeffery andrew at aj.id.au
Fri Aug 30 00:14:09 UTC 2019



On Thu, 29 Aug 2019, at 00:49, Alexander Kanavin wrote:
> On Wed, 28 Aug 2019 at 16:38, Andrew Jeffery <andrew at aj.id.au> wrote:
> > Can you expand a bit more on how I'd do this (examples?), or point me in
> >  the right direction with documentation? There don't appear to be any
> >  pointers in the git:// fetcher section of the mega manual.
> 
> I believe you simply need to specify several git:// entries for the 
> submodules you want like for example vulkan-demos does:
> 
> SRCREV_glm = "01f9ab5b6d21e5062ac0f6e0f205c7fa2ca9d769"
> SRCREV_gli = "8e43030b3e12bb58a4663d85adc5c752f89099c0"
> SRCREV = "ae0b59c6e2e8630a2ae26f4a0b7a72cbe7547948"
> 
> SRC_URI = "git://github.com/SaschaWillems/Vulkan.git \
>  git://github.com/g-truc/glm;destsuffix=git/external/glm;name=glm \
>  git://github.com/g-truc/gli;destsuffix=git/external/gli;name=gli \
>  file://0001-Don-t-build-demos-with-questionably-licensed-data.patch \
> "

Great, this is exactly what I was after.

Thanks!

Andrew


More information about the bitbake-devel mailing list