From: Michael Lauer Date: Wed, 6 Apr 2005 12:11:12 +0000 (+0000) Subject: copy the kernel versioning information into staging, if existing X-Git-Tag: Release-2010-05/1~14492 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ed647374fc89ecfd8dc665a41f059fc89b04cfe;p=openembedded.git copy the kernel versioning information into staging, if existing BKrev: 4253d1e0iv7fbNctJDvCYXB0UDIaTA --- diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index 39e91873c9..11318b8a55 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -87,6 +87,7 @@ kernel_do_stage() { cp -fR include/config* ${STAGING_KERNEL_DIR}/include/ install -m 0644 ${KERNEL_OUTPUT} ${STAGING_KERNEL_DIR}/${KERNEL_IMAGETYPE} install -m 0644 System.map ${STAGING_KERNEL_DIR}/System.map-${PV}${KERNEL_LOCALVERSION} + [ -e Module.symvers ] && install -m 0644 Module.symvers ${STAGING_KERNEL_DIR}/ cp -fR scripts ${STAGING_KERNEL_DIR}/ }