]> git.openpandora.org Git - openembedded.git/commitdiff
copy the kernel versioning information into staging, if existing
authorMichael Lauer <mickey@vanille-media.de>
Wed, 6 Apr 2005 12:11:12 +0000 (12:11 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Wed, 6 Apr 2005 12:11:12 +0000 (12:11 +0000)
BKrev: 4253d1e0iv7fbNctJDvCYXB0UDIaTA

classes/kernel.bbclass

index 39e91873c9cf5a91be58a5aed9bb7a4936c1788e..11318b8a552f5cfeb55b45b39a9e2518a527f11d 100644 (file)
@@ -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}/
 }