[oe-commits] Otavio Salvador : kernel.bbclass: save kernel image name into $kerneldir

git version control git at git.openembedded.org
Wed Aug 24 01:25:27 UTC 2011

Module: openembedded-core.git
Branch: master
Commit: 19a587cb98a20f0e659483541fc8cec874f6afa9
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=19a587cb98a20f0e659483541fc8cec874f6afa9

Author: Otavio Salvador <otavio at ossystems.com.br>
Date:   Fri Jul 22 01:23:59 2011 +0000

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 at ossystems.com.br>


 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 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

More information about the Openembedded-commits mailing list