mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 02:10:04 +00:00
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>
This commit is contained in:
@@ -134,6 +134,12 @@ kernel_do_install() {
|
|||||||
kerneldir=${STAGING_KERNEL_DIR}
|
kerneldir=${STAGING_KERNEL_DIR}
|
||||||
install -d $kerneldir
|
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
|
# Copy the entire source tree. In case an external build directory is
|
||||||
# used, copy the build directory over first, then copy over the source
|
# used, copy the build directory over first, then copy over the source
|
||||||
|
|||||||
Reference in New Issue
Block a user