On Fri, 2010-05-14 at 17:10 +0200, Eric Bénard wrote:
> -PR = "${MACHINE_KERNEL_PR}"
> +python __anonymous () {
> + machine_kernel_pr = bb.data.getVar('MACHINE_KERNEL_PR', d, True)
> +
> + if machine_kernel_pr:
> + bb.data.setVar('PR', machine_kernel_pr, d)
> +}
Looks reasonable to me. It seems a little bit sad to have this code
duplicated in both kernel.bbclass and module-base.bbclass but I guess
that is not a very big deal.
p.
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel