[meta-freescale] Linux kernel recipe override question

Gary Thomas gary at mlbassoc.com
Tue Feb 25 07:57:06 PST 2014


On 2014-02-25 08:34, Otavio Salvador wrote:
> Hello John,
> 
> On Tue, Feb 25, 2014 at 11:52 AM, John Weber <rjohnweber at gmail.com> wrote:
>>
>> On 2/25/14, 6:20 AM, Otavio Salvador wrote:
>> SRCBRANCH works based on experience from trial and error that I've done in
>> the past.
>> SRCREV does not work, again based on what I've tried.
>>
>> I'll shoot you a patch to make it easy to test on your end.
> 
> It makes sense now.
> 
> The SRCREV is dealt different because we can use SRCREV_FORMAT.
> 
> So when we use multiple Git repositories in same fetcher we can have:
> 
> SRCREV_FORMAT = "first_second"
> 
> and
> 
> SRC_URI = "git://...;name=first \
>                    git://...;name=second"
> 
> and
> 
> SRCREV_first = ...
> SRCREV_second = ...
> 
> So to handle the pn, we must to use:
> 
> SRCREV_pn-<recipe>
> 
> or
> 
> SRCREV_<name>-pn-<recipe>

Doesn't this need to be
  SRCREV_<name>_pn-<recipe>

The use of '_' and '-' is very particular.

> 
> I hope it clarifies it now.
> 
> Regards,
> 

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


More information about the meta-freescale mailing list