[yocto] Sharing a source repository

Chris Trobridge christrobridge at hotmail.com
Tue Jan 12 05:04:30 PST 2016


----------------------------------------
> Subject: Re: [yocto] Sharing a source repository
>> Or is there an idiomatic way to pull in a repository in one recipe
>> and then reference that from other recipes? I can think of something
>> that would work but would probably be breaking the spirit (eg sym
>> -linking the git directory somewhere commonly accessible to the other
>> recipes). This would also have the disadvantage of pulling the whole
>> repository in even only small part was actually required.
>
> You could look at what we do with gcc and the gcc-source recipe. Its
> works there but its not common place and requires workarounds in some
> corner cases like the sstate checksum debugging code.
>
> Cheers,
>
> Richard

Thanks Richard.  I think in this case I will investigate git subpaths as we have a collection of associated projects more than one project rebuilt in different configurations.    It is better to stick to the better used paths!

Cheers,
Chris

 		 	   		  


More information about the yocto mailing list