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:34 -0700 |
commit | 628d09cdff67903f251b349656e11b2ded571fdc (patch) | |
tree | 4697700b11ac58ec6709d73c25ce69f2ca368381 /meta/classes | |
parent | 505be75bbf004b822deb01c0a06b981402f952d1 (diff) | |
download | 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/classes')
-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 a2b10f2c7a..894ffb3970 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -129,6 +129,12 @@ kernel_do_install() { | |||
129 | echo "${KERNEL_VERSION}" > $kerneldir/kernel-abiversion | 129 | echo "${KERNEL_VERSION}" > $kerneldir/kernel-abiversion |
130 | 130 | ||
131 | # | 131 | # |
132 | # Store kernel image name to allow use during image generation | ||
133 | # | ||
134 | |||
135 | echo "${KERNEL_IMAGE_BASE_NAME}" >$kerneldir/kernel-image-name | ||
136 | |||
137 | # | ||
132 | # Copy the entire source tree. In case an external build directory is | 138 | # Copy the entire source tree. In case an external build directory is |
133 | # used, copy the build directory over first, then copy over the source | 139 | # used, copy the build directory over first, then copy over the source |
134 | # dir. This ensures the original Makefiles are used and not the | 140 | # dir. This ensures the original Makefiles are used and not the |