diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-07-22 01:23:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-23 18:23:16 -0700 |
commit | 19a587cb98a20f0e659483541fc8cec874f6afa9 (patch) | |
tree | 2a86c3229778d42abf0b19a5d240752db85186da | |
parent | 6890c02ec4538b82b694deaba39e9921af4e3f47 (diff) | |
download | openembedded-core-19a587cb98a20f0e659483541fc8cec874f6afa9.tar.gz openembedded-core-19a587cb98a20f0e659483541fc8cec874f6afa9.tar.bz2 openembedded-core-19a587cb98a20f0e659483541fc8cec874f6afa9.tar.xz openembedded-core-19a587cb98a20f0e659483541fc8cec874f6afa9.zip |
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>
-rw-r--r-- | meta/classes/kernel.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index a2b10f2c7..894ffb397 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 |