[oe] MACHINE_KERNEL_PR overrides PR for modules

Andreas Oberritter obi at opendreambox.org
Thu Mar 24 16:22:12 UTC 2011


On 03/24/2011 05:00 PM, Michael Smith wrote:
> Andreas Oberritter wrote:
>> how about this solution? For MACHINE_KERNEL_PR = "r11" and PR = "r20" it
>> creates PR = "r11.20", to mimic the revision numbers commonly seen with
>> recipes using INC_PR.
> 
> I'd rather see PR before MACHINE_KERNEL_PR as PR seems more "major". But
> like either way better than the current situation.

Actually, that's what I'd prefer, too. But I wanted to provide a
seamless upgrade path, as suggested by Frans.

I'm just starting to use MACHINE_KERNEL_PR, so for me there would be no
big difference either way.

One minor thing: If MACHINE_KERNEL_PR comes last, then
MACHINE_KERNEL_PR_append_local will IMO yield a nicer result.

In the meantime, I've sent an updated patch, moving the code to its own
bbclass file.

Regards,
Andreas





More information about the Openembedded-devel mailing list