summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-07-22 01:23:59 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-23 18:23:34 -0700
commit628d09cdff67903f251b349656e11b2ded571fdc (patch)
tree4697700b11ac58ec6709d73c25ce69f2ca368381 /meta
parent505be75bbf004b822deb01c0a06b981402f952d1 (diff)
downloadast2050-yocto-poky-628d09cdff67903f251b349656e11b2ded571fdc.zip
ast2050-yocto-poky-628d09cdff67903f251b349656e11b2ded571fdc.tar.gz
kernel.bbclass: save kernel image name into $kerneldir
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. (From OE-Core rev: 19a587cb98a20f0e659483541fc8cec874f6afa9) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index a2b10f2..894ffb3 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -129,6 +129,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
# dir. This ensures the original Makefiles are used and not the
OpenPOWER on IntegriCloud