Skip to contentSkip to conversation

Use of an INC_PR var when using a .inc file common to multiple recipes

RFC Otavio Salvador 2 participants 3 messages May 5, 2009 – May 8, 2009

lore
Share & tools
lore
#0 lore raw

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?

Signature · 3 lines
Otavio Salvador                  O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br
#1 lore raw
Quoted 8 lines · Otavio Salvador

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.

Quoted 4 lines

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

Signature · 3 lines
=======================
Cliff Brake
http://bec-systems.com
#2 lore raw

Hello Cliff,

Quoted 9 lines · Cliff Brake
Quoted 8 lines · Otavio Salvador

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.

Quoted 6 lines
Quoted 4 lines

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?

[...]

Yes, I belive it helps to avoid useless work for all of us.

Quoted 1 line

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

Cool and thx! :-)

Signature · 3 lines
Otavio Salvador                  O.S. Systems
E-mail: [email protected]  http://www.ossystems.com.br
Mobile: +55 53 9981-7854         http://projetos.ossystems.com.br