summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-07-21 18:06:34 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-25 15:58:02 +0100
commit65f27122950a35a67ce39ae4cfe93d0dca6b0dab (patch)
treef6a74b97537cef56509a38ce6064bd9a023596f9 /meta/classes/image.bbclass
parent0a7ce0b971a208956cb895ba5a869ec8c5d94703 (diff)
downloadopenembedded-core-contrib-65f27122950a35a67ce39ae4cfe93d0dca6b0dab.tar.gz
image_types.bbclass: Make u-boot signed images more versatile
With the introduction of chaining compression/conversion support we can convert the old image_types_uboot.bbclass code that did a hand-chaining of a set of ${filesystem}.${compression} into generic and arbitrary support to sign whatever the user wants to sign for their image. This, for the record, does remove setting a valid compression type in the record in favour of just saying none. This is not a generally useful feature in U-Boot and I believe being versatile in terms of being able to pass in arbitrary compressions is more important. Signed-off-by: Tom Rini <trini@konsulko.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.bbclass')
-rw-r--r--meta/classes/image.bbclass9
1 files changed, 0 insertions, 9 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index bd6a5b7b81..b095bca7c1 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -144,15 +144,6 @@ inherit ${IMAGE_TYPE_vm}
IMAGE_TYPE_container = '${@bb.utils.contains("IMAGE_FSTYPES", "container", "image-container", "", d)}'
inherit ${IMAGE_TYPE_container}
-def build_uboot(d):
- if 'u-boot' in (d.getVar('IMAGE_FSTYPES') or ''):
- return "image_types_uboot"
- else:
- return ""
-
-IMAGE_TYPE_uboot = "${@build_uboot(d)}"
-inherit ${IMAGE_TYPE_uboot}
-
IMAGE_TYPE_wic = "image_types_wic"
inherit ${IMAGE_TYPE_wic}