[yocto] how do I find the filename of the kernel

Joshua Immanuel josh at hipro.co.in
Fri Feb 24 01:26:50 PST 2012


Hello all,
	I am trying to write a config file in grub-native recipe for which I
need the kernel filename (in my case bzImage-3.0.4-yocto-standard+).

	I find in kernel.bbclass that the kernel file name is constructed from
"${KERNEL_IMAGETYPE}-${KERNEL_VERSION}". And the KERNEL_VERSION is
filled from the 'get_kernelversion' method in linux-kernel-base.bbclass,
which needs the location of kernel's build directory (${B}). Obviously,
this build directory location will not be available in other recipes.

So, how do I get the filename of the kernel in other recipes?

Regards
Joshua
-- 
Joshua Immanuel
HiPro IT Solutions Private Limited
http://hipro.co.in
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20120224/c3c81db2/attachment.pgp>


More information about the yocto mailing list