summaryrefslogtreecommitdiff
path: root/classes/kernel.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-05-25 13:15:49 +0000
committerKoen Kooi <koen@openembedded.org>2008-05-25 13:15:49 +0000
commit54932e7c0299fa3cabc348fb7f064784479d4491 (patch)
tree4e43bf3f6df4e3d51ae9a88939cbc5e0903805bf /classes/kernel.bbclass
parent1e1e7d83cb0b63b87af7dcb804bc47d8fdab79aa (diff)
kernel bbclass: stage vmlinux if present
Diffstat (limited to 'classes/kernel.bbclass')
-rw-r--r--classes/kernel.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index a7d34ca476..a7fd79419c 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -148,6 +148,8 @@ kernel_do_stage() {
install -m 0644 arch/x86/Makefile* ${STAGING_KERNEL_DIR}/arch/x86
fi
cp -fR include/config* ${STAGING_KERNEL_DIR}/include/
+ # Install kernel images and system.map to staging
+ [ -e vmlinux ] && install -m 0644 vmlinux ${STAGING_KERNEL_DIR}/
install -m 0644 ${KERNEL_OUTPUT} ${STAGING_KERNEL_DIR}/${KERNEL_IMAGETYPE}
install -m 0644 System.map ${STAGING_KERNEL_DIR}/System.map-${KERNEL_VERSION}
[ -e Module.symvers ] && install -m 0644 Module.symvers ${STAGING_KERNEL_DIR}/