[oe] [RFC] fix for MACHINE_KERNEL_PR stuff

Phil Blundell philb at gnu.org
Wed Jun 3 12:32:21 UTC 2009


On Wed, 2009-06-03 at 13:25 +0200, Marcin Juszkiewicz wrote:
> This patch unbreaks current behaviour which was introduced by 
> MACHINE_KERNEL_PR variable.
> 
> As most of target machines do not use it they have PR with broken value
> (set to "r0" instead of value in recipe). I took other way which makes
> both types of users happy -- those with MACHINE_KERNEL_PR in use and 
> those without it.
> 
> By default we set M_K_PR to empty string instead of "r0" - this allows
> to check is it set at all or not. If it is set then we set PR to this value.
> Otherwise we ignore existance of that variable and use PR from recipe.

Thanks for the patch.  This does look like a reasonable compromise: as
you say, it should prevent MACHINE_KERNEL_PR causing trouble for those
people who don't want it.  So, +1 from me.

p.






More information about the Openembedded-devel mailing list