summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-02 09:16:11 +0000
committerPhil Blundell <philb@gnu.org>2004-08-02 09:16:11 +0000
commit1e56f8d5d98c5869fa592c9991fcd613a641767b (patch)
tree82829c06908a6eb38e3121af635f3c214084890c /classes
parent45b091735ec1c04534a5e8d147ca25c9345db878 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into stealth.(none):/home/pb/oe/oe-packages 2004/08/02 10:15:53+01:00 (none)!pb avoid shipping zImage in simpad rootfs BKrev: 410e065bK1FENd7sEDB_M6YMooieNA
Diffstat (limited to 'classes')
-rw-r--r--classes/simpad_flashimg.oeclass9
1 files changed, 9 insertions, 0 deletions
diff --git a/classes/simpad_flashimg.oeclass b/classes/simpad_flashimg.oeclass
index e69de29bb2..ce591f7366 100644
--- a/classes/simpad_flashimg.oeclass
+++ b/classes/simpad_flashimg.oeclass
@@ -0,0 +1,9 @@
+EXTRA_IMAGEDEPENDS += 'virtual/kernel genboot-native'
+IMAGE_CMD_jffs2 += '; simpad_do_flashimg'
+IMAGE_POSTPROCESS_COMMAND += "rm -f ${IMAGE_ROOTFS}/boot/zImage*; "
+
+simpad_do_flashimg() {
+ cd ${DEPLOY_DIR_IMAGE}
+ simpad-make-flashimg complete ${STAGING_KERNEL_DIR}/zImage ${IMAGE_NAME}.rootfs.jffs2
+ mv zImage.initrd.flashfile ${IMAGE_NAME}.img
+}