summaryrefslogtreecommitdiffstats
path: root/meta/classes/image_types_uboot.bbclass
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2016-07-29 17:58:52 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-08-18 09:27:53 +0100
commitff3a455ee84b91e797052760c8d4618109b54c63 (patch)
tree50314a0d569d832601d87a5a72495e82ff132b03 /meta/classes/image_types_uboot.bbclass
parent10e44fe6fb9f0676dfd4ef10f79eceac61011874 (diff)
downloadpoky-ff3a455ee84b91e797052760c8d4618109b54c63.tar.gz
image.bbclass: rename COMPRESS(ION) to CONVERSION
With the enhanced functionality, the term "compression" is no longer accurate, because the mechanism also gets used for conversion operations that do not actually compress data. It is possible to remove this naming problem in a backward-compatible manner by including COMPRESSIONTYPES in CONVERSIONTYPES and checking for the old COMPRESS_CMD/DEPENDS as fallbacks. [YOCTO #9346] (From OE-Core rev: 9d68c024790850cab72ead1e3372a5fcec4ef7b0) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.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.bbclass18
1 files changed, 9 insertions, 9 deletions
diff --git a/meta/classes/image_types_uboot.bbclass b/meta/classes/image_types_uboot.bbclass
index 19e4aa2e47..f72d9b25ec 100644
--- a/meta/classes/image_types_uboot.bbclass
+++ b/meta/classes/image_types_uboot.bbclass
@@ -8,19 +8,19 @@ oe_mkimage () {
8 fi 8 fi
9} 9}
10 10
11COMPRESSIONTYPES += "gz.u-boot bz2.u-boot lzma.u-boot u-boot" 11CONVERSIONTYPES += "gz.u-boot bz2.u-boot lzma.u-boot u-boot"
12 12
13COMPRESS_DEPENDS_u-boot = "u-boot-mkimage-native" 13CONVERSION_DEPENDS_u-boot = "u-boot-mkimage-native"
14COMPRESS_CMD_u-boot = "oe_mkimage ${IMAGE_NAME}.rootfs.${type} none" 14CONVERSION_CMD_u-boot = "oe_mkimage ${IMAGE_NAME}.rootfs.${type} none"
15 15
16COMPRESS_DEPENDS_gz.u-boot = "u-boot-mkimage-native" 16CONVERSION_DEPENDS_gz.u-boot = "u-boot-mkimage-native"
17COMPRESS_CMD_gz.u-boot = "${COMPRESS_CMD_gz}; oe_mkimage ${IMAGE_NAME}.rootfs.${type}.gz gzip clean" 17CONVERSION_CMD_gz.u-boot = "${CONVERSION_CMD_gz}; oe_mkimage ${IMAGE_NAME}.rootfs.${type}.gz gzip clean"
18 18
19COMPRESS_DEPENDS_bz2.u-boot = "u-boot-mkimage-native" 19CONVERSION_DEPENDS_bz2.u-boot = "u-boot-mkimage-native"
20COMPRESS_CMD_bz2.u-boot = "${COMPRESS_CMD_bz2}; oe_mkimage ${IMAGE_NAME}.rootfs.${type}.bz2 bzip2 clean" 20CONVERSION_CMD_bz2.u-boot = "${CONVERSION_CMD_bz2}; oe_mkimage ${IMAGE_NAME}.rootfs.${type}.bz2 bzip2 clean"
21 21
22COMPRESS_DEPENDS_lzma.u-boot = "u-boot-mkimage-native" 22CONVERSION_DEPENDS_lzma.u-boot = "u-boot-mkimage-native"
23COMPRESS_CMD_lzma.u-boot = "${COMPRESS_CMD_lzma}; oe_mkimage ${IMAGE_NAME}.rootfs.${type}.lzma lzma clean" 23CONVERSION_CMD_lzma.u-boot = "${CONVERSION_CMD_lzma}; oe_mkimage ${IMAGE_NAME}.rootfs.${type}.lzma lzma clean"
24 24
25IMAGE_TYPES += "ext2.u-boot ext2.gz.u-boot ext2.bz2.u-boot ext2.lzma.u-boot ext3.gz.u-boot ext4.gz.u-boot cpio.gz.u-boot" 25IMAGE_TYPES += "ext2.u-boot ext2.gz.u-boot ext2.bz2.u-boot ext2.lzma.u-boot ext3.gz.u-boot ext4.gz.u-boot cpio.gz.u-boot"
26 26