git.openpandora.org
/
openembedded.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f37239b
)
classes/kernel.bbclass : fix for situation in which we generate no modules.
author
Graeme Gregory
<dp@xora.org.uk>
Mon, 28 Apr 2008 11:22:01 +0000
(11:22 +0000)
committer
Graeme Gregory
<dp@xora.org.uk>
Mon, 28 Apr 2008 11:22:01 +0000
(11:22 +0000)
classes/kernel.bbclass
patch
|
blob
|
history
diff --git
a/classes/kernel.bbclass
b/classes/kernel.bbclass
index
90583b4
..
a295c14
100644
(file)
--- 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