summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-06-22 17:41:34 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-23 13:34:33 +0100
commitbff293c0dc49a747547cf393270baab3478a64b0 (patch)
tree950c6f2d417cc22cb20331864326650362ffe15f /meta/classes/kernel.bbclass
parent1bf6ab481453d5f550d9382a76baa848be878f12 (diff)
downloadpoky-bff293c0dc49a747547cf393270baab3478a64b0.tar.gz
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@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. (From OE-Core rev: 6978774595f892e6a819ee64c932d475c67a6a0f) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Acked-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index aaf341b75c..9381b3a0f4 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -123,6 +123,12 @@ kernel_do_install() {
123 install -d $kerneldir 123 install -d $kerneldir
124 124
125 # 125 #
126 # Store the kernel version in sysroots for module-base.bbclass
127 #
128
129 echo "${KERNEL_VERSION}" > $kerneldir/kernel-abiversion
130
131 #
126 # Copy the entire source tree. In case an external build directory is 132 # Copy the entire source tree. In case an external build directory is
127 # used, copy the build directory over first, then copy over the source 133 # used, copy the build directory over first, then copy over the source
128 # dir. This ensures the original Makefiles are used and not the 134 # dir. This ensures the original Makefiles are used and not the