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

Alexander Kanavin alex.kanavin at gmail.com
Wed Aug 28 15:19:29 UTC 2019


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 \
"

In our internal project we ended up converting all gitsm:// recipes to
plain 'unfolded' git:// as gitsm:// has a number of issues in the thud
release that we tripped over
(I made sure warrior/master does address them).

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20190828/cb406432/attachment.html>


More information about the bitbake-devel mailing list