aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/image_types_uboot.bbclass
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2011-09-28 23:20:59 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-09-29 16:48:50 +0100
commit927b2ce72c026e5e41bdd5690c48ebbc8b19e45e (patch)
treeffc438f761555cc6b9f10bc4cd01f8cf4a227cbb /meta/classes/image_types_uboot.bbclass
parent4502a83ce67ac778112c25a1f4fa097c47e895b1 (diff)
downloadopenembedded-core-contrib-927b2ce72c026e5e41bdd5690c48ebbc8b19e45e.tar.gz
Add support for generating ext2.lzma{, .u-boot} images
Machines can now add ext2.lzma and ext2.lzma.u-boot images as a generated image type. Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image_types_uboot.bbclass')
-rw-r--r--meta/classes/image_types_uboot.bbclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/image_types_uboot.bbclass b/meta/classes/image_types_uboot.bbclass
index aee88a64e6..65dc91b3ff 100644
--- a/meta/classes/image_types_uboot.bbclass
+++ b/meta/classes/image_types_uboot.bbclass
@@ -13,6 +13,10 @@ IMAGE_DEPENDS_ext2.bz2.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimag
IMAGE_CMD_ext2.bz2.u-boot = "${IMAGE_CMD_ext2.bz2} \
oe_mkimage ${IMAGE_NAME}.rootfs.ext2.bz2 bzip2"
+IMAGE_DEPENDS_ext2.lzma.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage-native"
+IMAGE_CMD_ext2.lzma.u-boot = "${IMAGE_CMD_ext2.lzma} \
+ oe_mkimage ${IMAGE_NAME}.rootfs.ext2.lzma lzma"
+
IMAGE_DEPENDS_ext3.gz.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage-native"
IMAGE_CMD_ext3.gz.u-boot = "${IMAGE_CMD_ext3.gz} \
oe_mkimage ${IMAGE_NAME}.rootfs.ext3.gz gzip"
@@ -21,4 +25,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 ext3.gz.u-boot ext4.gz.u-boot"
+IMAGE_TYPES += "ext2.gz.u-boot ext2.bz2.u-boot ext2.lzma.u-boot ext3.gz.u-boot ext4.gz.u-boot"