[meta-freescale] Linux kernel recipe override question

Otavio Salvador otavio at ossystems.com.br
Tue Feb 25 07:34:25 PST 2014


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>

I hope it clarifies it now.

Regards,

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list