summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-29 16:27:21 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-29 18:25:03 +0000
commit8f07bdc0a42dd7a7c3acf5d1b13220dbc98c8017 (patch)
treeb3c5b3ab7948cb19aa2de426da853800f47d86be /meta
parent40b81c778bb8361d115c394ab110579a4b906ac3 (diff)
downloadpoky-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.bbclass29
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
8IMAGE_DEPENDS_ext2.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage-native" 8COMPRESSIONTYPES += "gz.u-boot bz2.u-boot lzma.u-boot u-boot"
9IMAGE_CMD_ext2.u-boot = "${IMAGE_CMD_ext2} \
10 oe_mkimage ${IMAGE_NAME}.rootfs.ext2 none"
11 9
12IMAGE_DEPENDS_ext2.gz.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage-native" 10COMPRESS_DEPENDS_u-boot = "u-boot-mkimage-native"
13IMAGE_CMD_ext2.gz.u-boot = "${IMAGE_CMD_ext2.gz} \ 11COMPRESS_CMD_u-boot = "oe_mkimage ${IMAGE_NAME}.rootfs.${type} none"
14 oe_mkimage ${IMAGE_NAME}.rootfs.ext2.gz gzip"
15 12
16IMAGE_DEPENDS_ext2.bz2.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage-native" 13COMPRESS_DEPENDS_gz.u-boot = "u-boot-mkimage-native"
17IMAGE_CMD_ext2.bz2.u-boot = "${IMAGE_CMD_ext2.bz2} \ 14COMPRESS_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
20IMAGE_DEPENDS_ext2.lzma.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage-native" 16COMPRESS_DEPENDS_bz2.u-boot = "u-boot-mkimage-native"
21IMAGE_CMD_ext2.lzma.u-boot = "${IMAGE_CMD_ext2.lzma} \ 17COMPRESS_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
24IMAGE_DEPENDS_ext3.gz.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage-native" 19COMPRESS_DEPENDS_lzma.u-boot = "u-boot-mkimage-native"
25IMAGE_CMD_ext3.gz.u-boot = "${IMAGE_CMD_ext3.gz} \ 20COMPRESS_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
28IMAGE_DEPENDS_ext4.gz.u-boot = "genext2fs-native e2fsprogs-native u-boot-mkimage-native"
29IMAGE_CMD_ext4.gz.u-boot = "${IMAGE_CMD_ext4.gz} \
30 oe_mkimage ${IMAGE_NAME}.rootfs.ext4.gz gzip"
31 21
32IMAGE_TYPES += "ext2.u-boot ext2.gz.u-boot ext2.bz2.u-boot ext2.lzma.u-boot ext3.gz.u-boot ext4.gz.u-boot" 22IMAGE_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