[oe] kernel_do_compile uses wrong kernel version

Detlef Vollmann dv at vollmann.ch
Sun Jul 11 23:58:28 UTC 2010


kernel_do_compile in kernel.bbclass uses KERNEL_MAJOR_VERSION,
which is computed based on files that don't exist at that
point in time.
It's not a real problem, as a 'make dep' is still defined
and just gives a warning, but I attached a patch nevertheless.

BTW, I'm not sure how useful get_kernelversion() really is,
as for the DEPENDS the "2.6" or "2.4" needs to be computed
based on PV anyway.

   Detlef
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel.bbclass.patch
Type: text/x-diff
Size: 533 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20100712/423e8f8d/attachment-0002.bin>


More information about the Openembedded-devel mailing list