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 39e9187..11318b8 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}/
 }