]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel.bbclass: save kernel image name into $kerneldir
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 22 Jul 2011 01:23:59 +0000 (01:23 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 24 Aug 2011 01:23:16 +0000 (18:23 -0700)
Save the kernel image name into sysroot so it can be used during image
build if need. This is used by O.S. Systems products and probably
useful to others.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta/classes/kernel.bbclass

index a2b10f2c7abae69d24f489f8f5830a4b3ed34a88..894ffb39705bba241e44c393ec10ed5564c3d216 100644 (file)
@@ -128,6 +128,12 @@ kernel_do_install() {
 
        echo "${KERNEL_VERSION}" > $kerneldir/kernel-abiversion
 
+       #
+       # Store kernel image name to allow use during image generation
+       #
+
+       echo "${KERNEL_IMAGE_BASE_NAME}" >$kerneldir/kernel-image-name
+
        #
        # Copy the entire source tree. In case an external build directory is
        # used, copy the build directory over first, then copy over the source