summaryrefslogtreecommitdiff
path: root/classes/simpad_flashimg.oeclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/simpad_flashimg.oeclass')
-rw-r--r--classes/simpad_flashimg.oeclass9
1 files changed, 3 insertions, 6 deletions
diff --git a/classes/simpad_flashimg.oeclass b/classes/simpad_flashimg.oeclass
index 84b2d2e1e4..a3aff2e082 100644
--- a/classes/simpad_flashimg.oeclass
+++ b/classes/simpad_flashimg.oeclass
@@ -2,11 +2,8 @@ EXTRA_IMAGEDEPENDS += 'virtual/kernel genboot-native'
IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \
--output=${T}/${IMAGE_NAME}.rootfs.jffs2 \
${EXTRA_IMAGECMD}; \
- simpad_do_flashimg"
+ cd ${DEPLOY_DIR_IMAGE}; \
+ simpad-make-flashimg complete ${STAGING_KERNEL_DIR}/zImage ${T}/${IMAGE_NAME}.rootfs.jffs2; \
+ mv zImage.initrd.flashfile ${IMAGE_NAME}.img"
IMAGE_POSTPROCESS_COMMAND += "rm -f ${IMAGE_ROOTFS}/boot/zImage*; "
-simpad_do_flashimg() {
- cd ${DEPLOY_DIR_IMAGE}
- simpad-make-flashimg complete ${STAGING_KERNEL_DIR}/zImage ${T}/${IMAGE_NAME}.rootfs.jffs2
- mv zImage.initrd.flashfile ${IMAGE_NAME}.img
-}