[oe-commits] Koen Kooi : kernel.bbclass: restore kernel-abiversion file
git version control
git at git.openembedded.org
Thu Jun 23 12:34:55 UTC 2011
Module: openembedded-core.git
Branch: master
Commit: 6978774595f892e6a819ee64c932d475c67a6a0f
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6978774595f892e6a819ee64c932d475c67a6a0f
Author: Koen Kooi <koen at dominion.thruhere.net>
Date: Wed Jun 22 17:41:34 2011 +0200
kernel.bbclass: restore kernel-abiversion file
This fixes external module recipes that need $KERNEL_VERSION. It got removed by
commit a9d41062e24a6b99661b3a5256f369b557433607
Author: Darren Hart <dvhart at linux.intel.com>
Date: Tue Mar 8 17:09:10 2011 -0800
kernel/bbclass: rework kernel and module classes to allow for building out-of-tree modules
seemingly as an oversight.
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
Acked-by: Darren Hart <dvhart at linux.intel.com>
---
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 aaf341b..9381b3a 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -123,6 +123,12 @@ kernel_do_install() {
install -d $kerneldir
#
+ # Store the kernel version in sysroots for module-base.bbclass
+ #
+
+ echo "${KERNEL_VERSION}" > $kerneldir/kernel-abiversion
+
+ #
# 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