summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
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 9c9f14a99a..18564204af 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -145,15 +145,6 @@ inherit ${IMAGE_TYPE_vm}
145IMAGE_TYPE_container = '${@bb.utils.contains("IMAGE_FSTYPES", "container", "image-container", "", d)}' 145IMAGE_TYPE_container = '${@bb.utils.contains("IMAGE_FSTYPES", "container", "image-container", "", d)}'
146inherit ${IMAGE_TYPE_container} 146inherit ${IMAGE_TYPE_container}
147 147
148def build_uboot(d):
149 if 'u-boot' in (d.getVar('IMAGE_FSTYPES') or ''):
150 return "image_types_uboot"
151 else:
152 return ""
153
154IMAGE_TYPE_uboot = "${@build_uboot(d)}"
155inherit ${IMAGE_TYPE_uboot}
156
157IMAGE_TYPE_wic = "image_types_wic" 148IMAGE_TYPE_wic = "image_types_wic"
158inherit ${IMAGE_TYPE_wic} 149inherit ${IMAGE_TYPE_wic}
159 150