diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-22 16:17:45 +0200 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-06-22 16:17:45 +0200 |
commit | c6c282daa0cfd6459a31a001c53e724f54c89d9d (patch) | |
tree | 01f0c2deba92333518f6dd0abbc7746d2a9fc544 /meta-oe/classes/kernel.bbclass | |
parent | 8bd56b95b570aea7c7187df0e5a9d4df086fdeac (diff) | |
download | meta-openembedded-c6c282daa0cfd6459a31a001c53e724f54c89d9d.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.
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
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 7498c2cde..743ca68a0 100644 --- a/meta-oe/classes/kernel.bbclass +++ b/meta-oe/classes/kernel.bbclass | |||
@@ -135,6 +135,12 @@ kernel_do_install() { | |||
135 | install -d $kerneldir | 135 | install -d $kerneldir |
136 | 136 | ||
137 | # | 137 | # |
138 | # Store the kernel version in sysroots for module-base.bbclass | ||
139 | # | ||
140 | |||
141 | echo "${KERNEL_VERSION}" > $kerneldir/kernel-abiversion | ||
142 | |||
143 | # | ||
138 | # Copy the entire source tree. In case an external build directory is | 144 | # Copy the entire source tree. In case an external build directory is |
139 | # used, copy the build directory over first, then copy over the source | 145 | # used, copy the build directory over first, then copy over the source |
140 | # dir. This ensures the original Makefiles are used and not the | 146 | # dir. This ensures the original Makefiles are used and not the |