Drop references to image_types_uboot.bbclass 05/13305/1
authorTom Rini <trini@konsulko.com>
Tue, 30 Jan 2018 13:18:32 +0000 (08:18 -0500)
committerTom Rini <trini@konsulko.com>
Tue, 30 Jan 2018 13:18:32 +0000 (08:18 -0500)
With the sync to poky 2.3.3 various bugfixes of mine have been
backported upstream.  At this point in time there is no longer a
image_types_uboot.bbclass file as instead the required logic is now
always part of image_types.bbclass.

Change-Id: Ie762adec19a5f31409d72b2ccfded532b8286c15
Bug-AGL: SPEC-1270
Signed-off-by: Tom Rini <trini@konsulko.com>
meta-agl-bsp/classes/image.bbclass
meta-netboot/classes/netboot.bbclass

index ccaffce..7e46546 100644 (file)
@@ -146,15 +146,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}
 
index 65ca4a1..1cdfd5f 100644 (file)
@@ -1,8 +1,5 @@
 # Enable network bootable image and initrd/initramfs
 
-# add image classes for uboot
-IMAGE_CLASSES += "${@'image_types_uboot' if (d.getVar("KERNEL_IMAGETYPE", True) == "uImage") else ''}"
-
 python () {
        if (bb.utils.contains_any("IMAGE_FSTYPES",["live","vmdk","vmdk.xz"],True,False,d)):
                # typical case for Minnowboard Max