[oe] [RFC][PATCH] module-base.bbclass: keep PR if MACHINE_KERNEL_PR is not set

Eric Bénard eric at eukrea.com
Fri May 14 20:15:41 UTC 2010


Le 14/05/2010 21:55, Phil Blundell a écrit :
> On Fri, 2010-05-14 at 19:45 +0200, Eric Bénard wrote:
>> so why not setting r0 as a default in bitbake.conf as a compromise ?
>
> A default MACHINE_KERNEL_PR, you mean?  That would cause PR to suddenly
> go backwards for a whole bunch of machines, which would definitely not
> be a good thing.  See the mailing list archive; there was quite a lot of
> discussion of these kinds of issues at the time that the M_K_PR change
> was originally landed.
>
yes, in this case MACHINE_KERNEL_PR would overide kernel's PR which is 
not what we want.

So actually the fix I propose is needed as while MACHINE_KERNEL_PR is 
not required by policy, module-base.bbclass is broken for machines 
without MACHINE_KERNEL_PR.

Eric




More information about the Openembedded-devel mailing list