[OE-core] Use of multiple GIT repositories in SRCREV but updating PV

Chris Larson clarson at kergoth.com
Fri Aug 26 21:51:35 UTC 2011


On Fri, Aug 26, 2011 at 2:40 PM, Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
> On Fri, 2011-08-26 at 18:06 -0300, Otavio Salvador wrote:
>> We have two recipes that use a common static library and every time we
>> change something on this library we need to bump PR of those recipes.
>> We want to avoid that specially for daily builds that will  be using
>> GIT AUTOREV support.
>>
>> For it to work, we need to have a way to put two SRCREV in PV and then
>> it will be rebuit every time the library changes.
>>
>> Any clue how to do that?
>
> Set the PV as usual in the recipe:
>
> PV = "0.0+gitr${SRCPV}"
>
> and then set:
>
> SRCREV = "${AUTOREV}"

He has multiple git repositories involved here, and wants to ensure it
gets rebuilt if either change.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics




More information about the Openembedded-core mailing list