summaryrefslogtreecommitdiff
path: root/classes/simpad_flashimg.oeclass
blob: a3aff2e0826d7591a599f56ff6d49ab2e905fd81 (plain)
1
2
3
4
5
6
7
8
9
EXTRA_IMAGEDEPENDS += 'virtual/kernel genboot-native'
IMAGE_CMD_jffs2 = "mkfs.jffs2 --root=${IMAGE_ROOTFS} --faketime \
                   --output=${T}/${IMAGE_NAME}.rootfs.jffs2 \
		   ${EXTRA_IMAGECMD}; \
		   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*; "