summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2008-04-28 14:29:01 +0000
committerHolger Freyther <zecke@selfish.org>2008-04-28 14:29:01 +0000
commitac03da524e5e040ca320c59b2b03c75685d925e0 (patch)
treef5853262cfd0bc85049eebb3842224cce9c1f1cd /classes
parent24dc77b97b4c9a2a3d05078e81d9cab8d64a1809 (diff)
parentf548461fca3bba7329777be4f89870c6f1cdccc1 (diff)
merge of '54b3dda1df013d6327e2ce8df95d7cfeeac2fbae'
and 'b5af291fa9dc074af84727684ddae1efa9c1be0d'
Diffstat (limited to 'classes')
-rw-r--r--classes/kernel.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 90583b42a4..a295c144e7 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -470,7 +470,10 @@ do_deploy() {
install -d ${DEPLOY_DIR_IMAGE}
install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
package_stagefile_shell ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
+
+ if [ -d "${D}lib" ]; then
tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${PV}-${PR}-${MACHINE}.tgz -C ${D} lib
+ fi
if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then
if test -e arch/${ARCH}/boot/compressed/vmlinux ; then