In RDK-V, we deal with different components which are categorized as below -
In Yocto build system, most of the opensource components used, comes from openembedded-core and meta-openembedded layers. Whereas Generic and CPC components are maintained in Git repo.
SourceCode for opensource components are downloaded from their respective opensource repository during build time. But for generic and cpc components, we have 2 options. Like opensource components, they can be downloaded from the Git repo during build time. Or we can reuse the already downloaded code (which was downloaded during repo sync).