aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
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:16 -0700
commit19a587cb98a20f0e659483541fc8cec874f6afa9 (patch)
tree2a86c3229778d42abf0b19a5d240752db85186da /meta/classes/kernel.bbclass
parent6890c02ec4538b82b694deaba39e9921af4e3f47 (diff)
downloadopenembedded-core-contrib-19a587cb98a20f0e659483541fc8cec874f6afa9.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. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-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 a2b10f2c7a..894ffb3970 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