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:23:04 +0000 |
commit | 8054497b393d40a2ed8c802c74a02e92a3001297 (patch) | |
tree | 81f82d64f43b7c3d32896810ac1a43d01ab79eed | |
parent | eacedb4f2afa98dbd2f5ea7a9f52e6ea952a72d2 (diff) | |
download | openembedded-core-8054497b393d40a2ed8c802c74a02e92a3001297.tar.gz openembedded-core-8054497b393d40a2ed8c802c74a02e92a3001297.tar.bz2 openembedded-core-8054497b393d40a2ed8c802c74a02e92a3001297.tar.xz openembedded-core-8054497b393d40a2ed8c802c74a02e92a3001297.zip |
image_types_uboot: Update to work after recent image_types changes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 8d1081c00..07837b566 100644 --- a/meta/classes/image_types_uboot.bbclass +++ b/meta/classes/image_types_uboot.bbclass @@ -5,28 +5,19 @@ 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" +COMPRESSIONTYPES += "gz.u-boot bz2.u-boot lzma.u-boot u-boot" -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" +COMPRESS_DEPENDS_u-boot = "u-boot-mkimage-native" +COMPRESS_CMD_u-boot = "oe_mkimage ${IMAGE_NAME}.rootfs.${type} none" -IMAGE_DEPENDS_ext2.bz2.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage-native" -IMAGE_CMD_ext2.bz2.u-boot = "${IMAGE_CMD_ext2.bz2} \ - oe_mkimage ${IMAGE_NAME}.rootfs.ext2.bz2 bzip2" +COMPRESS_DEPENDS_gz.u-boot = "u-boot-mkimage-native" +COMPRESS_CMD_gz.u-boot = "${COMPRESS_CMD_gz}; oe_mkimage ${IMAGE_NAME}.rootfs.${type}.gz gzip" -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" +COMPRESS_DEPENDS_bz2.u-boot = "u-boot-mkimage-native" +COMPRESS_CMD_bz2.u-boot = "${COMPRESS_CMD_bz2}; oe_mkimage ${IMAGE_NAME}.rootfs.${type}.bz2 bzip2" -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" - -IMAGE_DEPENDS_ext4.gz.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage-native" -IMAGE_CMD_ext4.gz.u-boot = "${IMAGE_CMD_ext4.gz} \ - oe_mkimage ${IMAGE_NAME}.rootfs.ext4.gz gzip" +COMPRESS_DEPENDS_lzma.u-boot = "u-boot-mkimage-native" +COMPRESS_CMD_lzma.u-boot = "${COMPRESS_CMD_lzma}; oe_mkimage ${IMAGE_NAME}.rootfs.${type}.lzma lzma" 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" + |