From patchwork Tue Jan 17 08:32:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [CONSOLIDATED, PULL, 34/62] image_types_uboot.bbclass: Add uncompressed ext2 image option Date: Tue, 17 Jan 2012 08:32:19 -0000 From: Saul Wold X-Patchwork-Id: 19491 Message-Id: <9a1996e4251ca66eb982f8aa1534adac04dec592.1326786990.git.sgw@linux.intel.com> To: openembedded-core@lists.openembedded.org From: Matthew McClintock Signed-off-by: Matthew McClintock --- meta/classes/image_types_uboot.bbclass | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/meta/classes/image_types_uboot.bbclass b/meta/classes/image_types_uboot.bbclass index 65dc91b..8d1081c 100644 --- a/meta/classes/image_types_uboot.bbclass +++ b/meta/classes/image_types_uboot.bbclass @@ -5,6 +5,10 @@ oe_mkimage () { -d ${DEPLOY_DIR_IMAGE}/$1 ${DEPLOY_DIR_IMAGE}/$1.u-boot } +IMAGE_DEPENDS_ext2.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage-native" +IMAGE_CMD_ext2.u-boot = "${IMAGE_CMD_ext2} \ + oe_mkimage ${IMAGE_NAME}.rootfs.ext2 none" + IMAGE_DEPENDS_ext2.gz.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage-native" IMAGE_CMD_ext2.gz.u-boot = "${IMAGE_CMD_ext2.gz} \ oe_mkimage ${IMAGE_NAME}.rootfs.ext2.gz gzip" @@ -25,4 +29,4 @@ IMAGE_DEPENDS_ext4.gz.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage IMAGE_CMD_ext4.gz.u-boot = "${IMAGE_CMD_ext4.gz} \ oe_mkimage ${IMAGE_NAME}.rootfs.ext4.gz gzip" -IMAGE_TYPES += "ext2.gz.u-boot ext2.bz2.u-boot ext2.lzma.u-boot ext3.gz.u-boot ext4.gz.u-boot" +IMAGE_TYPES += "ext2.u-boot ext2.gz.u-boot ext2.bz2.u-boot ext2.lzma.u-boot ext3.gz.u-boot ext4.gz.u-boot"