diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2011-07-22 01:23:59 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-08-22 22:03:11 +0200 |
commit | e2ab1ff691b2ed4444b331247157707c68f239f7 (patch) | |
tree | c5a25000bab6aa8649348ef488547fa12a6d6194 /meta-oe/classes/kernel.bbclass | |
parent | d0d016e11765c7923c2bfbfeefdfc65ff39e34d5 (diff) | |
download | meta-openembedded-e2ab1ff691b2ed4444b331247157707c68f239f7.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-oe/classes/kernel.bbclass')
-rw-r--r-- | meta-oe/classes/kernel.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass index f67503a3b..f19e7440b 100644 --- a/meta-oe/classes/kernel.bbclass +++ b/meta-oe/classes/kernel.bbclass | |||
@@ -134,6 +134,12 @@ kernel_do_install() { | |||
134 | echo "${KERNEL_VERSION}" > $kerneldir/kernel-abiversion | 134 | echo "${KERNEL_VERSION}" > $kerneldir/kernel-abiversion |
135 | 135 | ||
136 | # | 136 | # |
137 | # Store kernel image name to allow use during image generation | ||
138 | # | ||
139 | |||
140 | echo "${KERNEL_IMAGE_BASE_NAME}" >$kerneldir/kernel-image-name | ||
141 | |||
142 | # | ||
137 | # Copy the entire source tree. In case an external build directory is | 143 | # Copy the entire source tree. In case an external build directory is |
138 | # used, copy the build directory over first, then copy over the source | 144 | # used, copy the build directory over first, then copy over the source |
139 | # dir. This ensures the original Makefiles are used and not the | 145 | # dir. This ensures the original Makefiles are used and not the |