diff options
author | Chris Larson <chris_larson@mentor.com> | 2011-08-19 14:56:25 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-23 18:23:31 -0700 |
commit | 67f5a955b0cba8e2ddb5c8b6f81f9532a4eeedf5 (patch) | |
tree | 852c9f7a8daf8e8b7fb505db5dc72d01a4d76540 /meta | |
parent | 7629ec7daca3b1e5a26dc2e8c4636d8e2fb2cad3 (diff) | |
download | poky-67f5a955b0cba8e2ddb5c8b6f81f9532a4eeedf5.tar.gz |
image_types_uboot: add uboot mkimage fs types
(From OE-Core rev: ac75c4cc27494e93ad8eba318582b875fea8f508)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/image_types_uboot.bbclass | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/classes/image_types_uboot.bbclass b/meta/classes/image_types_uboot.bbclass new file mode 100644 index 0000000000..f08ad8ddb4 --- /dev/null +++ b/meta/classes/image_types_uboot.bbclass | |||
@@ -0,0 +1,21 @@ | |||
1 | oe_mkimage () { | ||
2 | mkimage -A ${UBOOT_ARCH} -O linux -T ramdisk -C gzip -n ${IMAGE_NAME} \ | ||
3 | -d ${DEPLOY_DIR_IMAGE}/$1 ${DEPLOY_DIR_IMAGE}/$1.u-boot | ||
4 | } | ||
5 | |||
6 | UBOOT_IMAGE_DEPENDS = "genext2fs-native e2fsprogs-native u-boot-mkimage-native" | ||
7 | |||
8 | IMAGE_DEPENDS_ext2.gz.u-boot = "${UBOOT_IMAGE_DEPENDS}" | ||
9 | IMAGE_CMD_ext2.gz.u-boot = "${IMAGE_CMD_ext2.gz}; oe_mkimage ${IMAGE_NAME}.rootfs.ext2.gz" | ||
10 | IMAGE_DEPENDS_ext2.bz2.u-boot = "${UBOOT_IMAGE_DEPENDS}" | ||
11 | IMAGE_CMD_ext2.bz2.u-boot = "${IMAGE_CMD_ext2.bz2}; oe_mkimage ${IMAGE_NAME}.rootfs.ext2.bz2" | ||
12 | |||
13 | IMAGE_DEPENDS_ext3.gz.u-boot = "${UBOOT_IMAGE_DEPENDS}" | ||
14 | IMAGE_CMD_ext3.gz.u-boot = "${IMAGE_CMD_ext3.gz}; oe_mkimage ${IMAGE_NAME}.rootfs.ext3.gz" | ||
15 | IMAGE_DEPENDS_ext3.bz2.u-boot = "${UBOOT_IMAGE_DEPENDS}" | ||
16 | IMAGE_CMD_ext3.bz2.u-boot = "${IMAGE_CMD_ext3.bz2}; oe_mkimage ${IMAGE_NAME}.rootfs.ext3.bz2" | ||
17 | |||
18 | IMAGE_DEPENDS_ext4.gz.u-boot = "${UBOOT_IMAGE_DEPENDS}" | ||
19 | IMAGE_CMD_ext4.gz.u-boot = "${IMAGE_CMD_ext4.gz}; oe_mkimage ${IMAGE_NAME}.rootfs.ext4.gz" | ||
20 | IMAGE_DEPENDS_ext4.bz2.u-boot = "${UBOOT_IMAGE_DEPENDS}" | ||
21 | IMAGE_CMD_ext4.bz2.u-boot = "${IMAGE_CMD_ext4.bz2}; oe_mkimage ${IMAGE_NAME}.rootfs.ext4.bz2" | ||