aboutsummaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2012-01-12 11:13:32 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-01-17 14:53:01 +0000
commit1a8e02fee858fa9569f2e980ebff0698e4a53d36 (patch)
tree2166e97cf88e7cf7d6fd3b07659b4dcf983c711e /meta
parentd0687295456bcf240be657e6b5b508f718ca9ebd (diff)
downloadopenembedded-core-contrib-1a8e02fee858fa9569f2e980ebff0698e4a53d36.tar.gz
image_types_uboot.bbclass: Add uncompressed ext2 image option
Signed-off-by: Matthew McClintock <msm@freescale.com>
Diffstat (limited to 'meta')
-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 65dc91b3ff..8d1081c00a 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"