[yocto] externalsrc + sstate why is not compatible?

Alexander Kanavin alexander.kanavin at linux.intel.com
Wed Dec 6 09:27:56 PST 2017


On 12/06/2017 04:13 PM, Koehler, Yannick wrote:
> When you say "subdirs", are you referring to submodules or something along those line?  We have used attempted to use submodules and it still required 20 + 1 repo and the overhead is similar to yocto + 20 repo but then you have yocto + 20 repos + 1 main repos, as such, this is not acceptable for us.  We also looked at other combination of multiple repos supported or in work for git and none are satisfying or supported in a way I could propose to use it in our project.
> 
> If you mean 1 repo, which subdirs representing each package, I would be interested, but how would it work with yocto SRC_URI?

The latter. It's simple: you set SRC_URI in each recipe to the same 
value, but set S differently:

S = "${WORKDIR}/git/module-1"

S = "${WORKDIR}/git/module-2"

etc.

Alex



More information about the yocto mailing list