diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-29 16:27:21 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-29 18:25:03 +0000 |
| commit | 8f07bdc0a42dd7a7c3acf5d1b13220dbc98c8017 (patch) | |
| tree | b3c5b3ab7948cb19aa2de426da853800f47d86be /meta | |
| parent | 40b81c778bb8361d115c394ab110579a4b906ac3 (diff) | |
| download | poky-8f07bdc0a42dd7a7c3acf5d1b13220dbc98c8017.tar.gz | |
image_types_uboot: Update to work after recent image_types changes
(From OE-Core rev: 8054497b393d40a2ed8c802c74a02e92a3001297)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/classes/image_types_uboot.bbclass | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/meta/classes/image_types_uboot.bbclass b/meta/classes/image_types_uboot.bbclass index 8d1081c00a..07837b566c 100644 --- a/meta/classes/image_types_uboot.bbclass +++ b/meta/classes/image_types_uboot.bbclass | |||
| @@ -5,28 +5,19 @@ oe_mkimage () { | |||
| 5 | -d ${DEPLOY_DIR_IMAGE}/$1 ${DEPLOY_DIR_IMAGE}/$1.u-boot | 5 | -d ${DEPLOY_DIR_IMAGE}/$1 ${DEPLOY_DIR_IMAGE}/$1.u-boot |
| 6 | } | 6 | } |
| 7 | 7 | ||
| 8 | IMAGE_DEPENDS_ext2.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage-native" | 8 | COMPRESSIONTYPES += "gz.u-boot bz2.u-boot lzma.u-boot u-boot" |
| 9 | IMAGE_CMD_ext2.u-boot = "${IMAGE_CMD_ext2} \ | ||
| 10 | oe_mkimage ${IMAGE_NAME}.rootfs.ext2 none" | ||
| 11 | 9 | ||
| 12 | IMAGE_DEPENDS_ext2.gz.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage-native" | 10 | COMPRESS_DEPENDS_u-boot = "u-boot-mkimage-native" |
| 13 | IMAGE_CMD_ext2.gz.u-boot = "${IMAGE_CMD_ext2.gz} \ | 11 | COMPRESS_CMD_u-boot = "oe_mkimage ${IMAGE_NAME}.rootfs.${type} none" |
| 14 | oe_mkimage ${IMAGE_NAME}.rootfs.ext2.gz gzip" | ||
| 15 | 12 | ||
| 16 | IMAGE_DEPENDS_ext2.bz2.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage-native" | 13 | COMPRESS_DEPENDS_gz.u-boot = "u-boot-mkimage-native" |
| 17 | IMAGE_CMD_ext2.bz2.u-boot = "${IMAGE_CMD_ext2.bz2} \ | 14 | COMPRESS_CMD_gz.u-boot = "${COMPRESS_CMD_gz}; oe_mkimage ${IMAGE_NAME}.rootfs.${type}.gz gzip" |
| 18 | oe_mkimage ${IMAGE_NAME}.rootfs.ext2.bz2 bzip2" | ||
| 19 | 15 | ||
| 20 | IMAGE_DEPENDS_ext2.lzma.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage-native" | 16 | COMPRESS_DEPENDS_bz2.u-boot = "u-boot-mkimage-native" |
| 21 | IMAGE_CMD_ext2.lzma.u-boot = "${IMAGE_CMD_ext2.lzma} \ | 17 | COMPRESS_CMD_bz2.u-boot = "${COMPRESS_CMD_bz2}; oe_mkimage ${IMAGE_NAME}.rootfs.${type}.bz2 bzip2" |
| 22 | oe_mkimage ${IMAGE_NAME}.rootfs.ext2.lzma lzma" | ||
| 23 | 18 | ||
| 24 | IMAGE_DEPENDS_ext3.gz.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage-native" | 19 | COMPRESS_DEPENDS_lzma.u-boot = "u-boot-mkimage-native" |
| 25 | IMAGE_CMD_ext3.gz.u-boot = "${IMAGE_CMD_ext3.gz} \ | 20 | COMPRESS_CMD_lzma.u-boot = "${COMPRESS_CMD_lzma}; oe_mkimage ${IMAGE_NAME}.rootfs.${type}.lzma lzma" |
| 26 | oe_mkimage ${IMAGE_NAME}.rootfs.ext3.gz gzip" | ||
| 27 | |||
| 28 | IMAGE_DEPENDS_ext4.gz.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage-native" | ||
| 29 | IMAGE_CMD_ext4.gz.u-boot = "${IMAGE_CMD_ext4.gz} \ | ||
| 30 | oe_mkimage ${IMAGE_NAME}.rootfs.ext4.gz gzip" | ||
| 31 | 21 | ||
| 32 | 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" | 22 | 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" |
| 23 | |||
