aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-04-06 12:11:12 +0000
committerMichael Lauer <mickey@vanille-media.de>2005-04-06 12:11:12 +0000
commit3ed647374fc89ecfd8dc665a41f059fc89b04cfe (patch)
treeb2962ae3cdefe9b62038b04f00767bc2d5b2f766
parent01c7a43d4759ad6be72560570f07c030c97f2a32 (diff)
downloadopenembedded-3ed647374fc89ecfd8dc665a41f059fc89b04cfe.tar.gz
openembedded-3ed647374fc89ecfd8dc665a41f059fc89b04cfe.tar.bz2
openembedded-3ed647374fc89ecfd8dc665a41f059fc89b04cfe.zip
copy the kernel versioning information into staging, if existing
BKrev: 4253d1e0iv7fbNctJDvCYXB0UDIaTA
-rw-r--r--classes/kernel.bbclass1
1 files changed, 1 insertions, 0 deletions
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}/
}