[oe] [RFC] Use of an INC_PR var when using a .inc file common to multiple recipes

Cliff Brake cliff.brake at gmail.com
Fri May 8 00:13:47 UTC 2009


On Tue, May 5, 2009 at 1:01 PM, Otavio Salvador <otavio at ossystems.com.br> wrote:
> Hello,
>
> I've been noticing how boring is to update .inc files that are used by
> many recipes. It's also risky since we can easily forget to update a
> required bb  file or, in worse case, a new bb can be included in the
> overlay and it won't be updated with the changes done on the .inc
> file.
>
> To solve it, I'd like to recommends the usage of the way I did for
> firefox-l10n packages. I'm adding them just for reference.
>
> What people think about it?

>From a quick look, I assume you are meaning the way you did the PR?

recipe: PR = "${INC_PR}.1"

inc file: INC_PR = "r1"

I like it and added to: http://wiki.openembedded.net/index.php/Styleguide

Thanks,
Cliff

-- 
=======================
Cliff Brake
http://bec-systems.com




More information about the Openembedded-devel mailing list